Re: [PATCH v2 1/2] spi: spidev: fix a race condition when accessing spidev->spi
From: Mark Brown
Date: Fri Jan 06 2023 - 09:13:41 EST
On Fri, Jan 06, 2023 at 11:07:18AM +0100, Bartosz Golaszewski wrote:
> - use a mutex instead of an RW semaphore (but for the record: I believe that
> the semaphore is the better solution here)
Why? Like I said in my original reply I'm not clear what the extra
complication is buying us.
Attachment:
signature.asc
Description: PGP signature