[PATCH 1/3] spi: bitbang: Replace spinlock by mutex when calling chipselect

Mark Brown broonie at kernel.org
Fri Aug 14 12:19:20 PDT 2015


On Wed, Aug 05, 2015 at 06:24:05PM +0800, Nicolas Boichat wrote:

> Anyway, the "safer" way to fix this would be to keep the
> prepare/unprepare functions, busy variable, and just protect it with a
> mutex instead of a spinlock...

OK, that seems reasonable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150814/a3aba122/attachment.sig>


More information about the linux-arm-kernel mailing list