Spinlock vs mutexes for spi network driver

Greg KH greg at kroah.com
Wed Mar 17 18:17:17 UTC 2010


On Wed, Mar 17, 2010 at 10:12:25AM -0700, Amit Uttamchandani wrote:
> 
> I have modified 'drivers/net/ethoc.c' for spi communication and it is
> able to transmit/receive packets. However, I am confused about using
> spinlocks vs mutexes for locking access to the spi device.

Try asking this on the linux spi developer mailing list.  The people
there should be able to help you out better.

thanks,

greg k-h



More information about the devel mailing list