Skip to content
Commit 86af9bcc authored by Tom Burdick's avatar Tom Burdick Committed by Stephanos Ioannidis
Browse files

spi: SAM add spin lock around all tx/rx/txrx funcs



The fast tx/rx/txrx functions will leave the SPI bus in an
inoperable state if interrupted, potentially spinning forever waiting on
some data. Wrapping these operations in what amounts to a critical section
using spin locks to avoid the issue.

Signed-off-by: default avatarTom Burdick <thomas.burdick@intel.com>
parent bcee4ed3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment