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

From: Mark Brown
Date: Fri Aug 14 2015 - 22:13:08 EST


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.

Attachment: signature.asc
Description: Digital signature