On Wed, Dec 02, 2015 at 12:58:55PM +0000, Charles Keepax wrote: > So after a bit more digging it seems this has been mitigated slightly > as a lot of SPI driver have been updated to execute transfers in > thread rather than from a worker thread and it seems the clock > framework lets you re-enter the locked sections if called from the > same thread. No, this isn't something the drivers support (it's a framework feature) and it isn't something that we're guaranteed to do, if the bus is busy we defer to the thread and it's possible the drivers might do something multi-threaded themselves. It might work a lot of the time but it's never going to be guaranteed to work.
Attachment:
signature.asc
Description: PGP signature