Re: [RFC PATCH] spi: Take the SPI IO-mutex in the spi_setup() method

From: Mark Brown
Date: Fri Nov 20 2020 - 12:18:11 EST


On Tue, Nov 17, 2020 at 12:45:17PM +0300, Serge Semin wrote:

> Of course I could have provided a fix affecting the DW APB SSI driver
> only, for instance, by creating a mutual exclusive access to the set_cs
> callback and setting/clearing only the bit responsible for the
> corresponding chip-select. But after a short research I've discovered that

I think the driver needs a fix anyway for the case where there's a mix
of devices with standard and inverted chip selects, it assumes they all
have the same polarity AFAICT.

Attachment: signature.asc
Description: PGP signature