spi_sync call uses its spi_message parameter to keep completion information,
having this structure static is not thread-safe, potentially causing one
thread having pointers to memory on or above other threads stack. use mutex
to prevent multiple access
Signed-off-by: Pavel Herrmann morpheus.i
anyone picked this yet?
On Friday 03 of June 2011 22:00:03 Pavel Herrmann wrote:
spi_sync call uses its spi_message parameter to keep completion information,
having this structure static is not thread-safe, potentially causing one
thread having pointers to memory on or above other threads