{"action":"closed","issue":{"url":"https://api.github.com/repos/raspberrypi/firmware/issues/170","labels_url":"https://api.github.com/repos/raspberrypi/firmware/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/firmware/issues/170/comments","events_url":"https://api.github.com/repos/raspberrypi/firmware/issues/170/events","html_url":"https://github.com/raspberrypi/firmware/issues/170","id":13064643,"number":170,"title":"Can't use SPI after GPIO on the same pins","user":{"login":"qvas","id":2004089,"avatar_url":"https://avatars.githubusercontent.com/u/2004089?v=3","gravatar_id":"","url":"https://api.github.com/users/qvas","html_url":"https://github.com/qvas","followers_url":"https://api.github.com/users/qvas/followers","following_url":"https://api.github.com/users/qvas/following{/other_user}","gists_url":"https://api.github.com/users/qvas/gists{/gist_id}","starred_url":"https://api.github.com/users/qvas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qvas/subscriptions","organizations_url":"https://api.github.com/users/qvas/orgs","repos_url":"https://api.github.com/users/qvas/repos","events_url":"https://api.github.com/users/qvas/events{/privacy}","received_events_url":"https://api.github.com/users/qvas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2013-04-11T12:22:23Z","updated_at":"2015-06-25T16:07:14Z","closed_at":"2015-06-25T16:07:14Z","body":"Hi!\r\n\r\nI'm trying to write program that utilizes RPi output pins P1-03 and P1-03 as GPIO0 and GPIO1, and then open I2C device and exchange data with I2C device. It seems I2C driver doesn't change pins role at open procedure. E.g. if I open I2C after reboot everything works OK, but I2C connection is completely broken if GPIO devices was accessed at first. Is there any workaround how to bypass this bug without board rebooting?"}}