Re: [PATCH] spi: Fix deadlock when adding SPI controllers on SPI buses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 13, 2021 at 03:00:05PM +0200, Uwe Kleine-König wrote:

> > -	mutex_lock(&spi_add_lock);
> > +	/* We need to make sure there's no other device with this
> > +	 * chipselect **BEFORE** we call setup(), else we'll trash
> > +	 * its configuration.  Lock against concurrent add() calls.
> > +	 */

> This comment is already there, it seems you duplicated it with your
> patch? Maybe a merge issue with
> 6bfb15f34dd8c8a073e03a31c485ef5774b127df?

It's not there in -next which is what this is against but it looks like
a mistake to remove it.  It'll actually get applied on the fixes branch
where that'll rebase out anyway.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux