{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2317","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2317/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2317/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2317/events","html_url":"https://github.com/RIOT-OS/RIOT/pull/2317","id":54572488,"number":2317,"title":"drivers/periph/spi: Implement thread safety for all SPI devices","user":{"login":"gebart","id":317506,"avatar_url":"https://avatars.githubusercontent.com/u/317506?v=3","gravatar_id":"","url":"https://api.github.com/users/gebart","html_url":"https://github.com/gebart","followers_url":"https://api.github.com/users/gebart/followers","following_url":"https://api.github.com/users/gebart/following{/other_user}","gists_url":"https://api.github.com/users/gebart/gists{/gist_id}","starred_url":"https://api.github.com/users/gebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gebart/subscriptions","organizations_url":"https://api.github.com/users/gebart/orgs","repos_url":"https://api.github.com/users/gebart/repos","events_url":"https://api.github.com/users/gebart/events{/privacy}","received_events_url":"https://api.github.com/users/gebart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Device+driver","name":"Device driver","color":"0052cc"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/enhancement","name":"enhancement","color":"f17070"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/NEEDS+SQUASHING","name":"NEEDS SQUASHING","color":"009800"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/Waiting+For+Other+PR","name":"Waiting For Other PR","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-01-16T12:55:09Z","updated_at":"2015-01-19T16:03:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2317","html_url":"https://github.com/RIOT-OS/RIOT/pull/2317","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2317.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2317.patch"},"body":"This implements #2314 for the SPI drivers. (edit: Except for STM32F4 which is implemented in #2290)\r\nI added the generic implementation of SPI thread safety as proposed by @haukepetersen in #2290 to all CPU `periph/spi` implementations and made all drivers which are currently using `periph/spi` to acquire/release the bus when necessary.\r\n\r\nI also found a mistake in the nrf24l01p driver, the CS line was cleared/set twice when turning on/off the device."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/70517394","html_url":"https://github.com/RIOT-OS/RIOT/pull/2317#issuecomment-70517394","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2317","id":70517394,"user":{"login":"PeterKietzmann","id":7765855,"avatar_url":"https://avatars.githubusercontent.com/u/7765855?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKietzmann","html_url":"https://github.com/PeterKietzmann","followers_url":"https://api.github.com/users/PeterKietzmann/followers","following_url":"https://api.github.com/users/PeterKietzmann/following{/other_user}","gists_url":"https://api.github.com/users/PeterKietzmann/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKietzmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKietzmann/subscriptions","organizations_url":"https://api.github.com/users/PeterKietzmann/orgs","repos_url":"https://api.github.com/users/PeterKietzmann/repos","events_url":"https://api.github.com/users/PeterKietzmann/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKietzmann/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T16:03:39Z","updated_at":"2015-01-19T16:03:39Z","body":"@gebart I would propose to squash the nrf24l01p-, cc110x- and at86rf231-commits but I'm not sure if it's necessary to keep all the other ones separately. Maybe @LudwigOrtmann ha an idea about that?"}}