Re: [PATCH] iio: adc: mcp3422: fix locking on error path

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

 



On Tue, Sep 01, 2020 at 11:01:25AM +0100, Jonathan Cameron wrote:
> On Tue, 1 Sep 2020 11:32:18 +0200
> Angelo Compagnucci <angelo.compagnucci@xxxxxxxxx> wrote:
> 
> > Reading from the chip should be unlocked on error path else the lock
> > could never being released.
> 
> We should also reference the fix that we are fixing so I've added
> an additional fixes tag below and a reported by tag for Julia.
> 
> > 
> > Fixes: 07914c84ba30 ("iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC")
> Fixes: 3f1093d83d71 ("iio: adc: mcp3422: fix locking scope")
> > Signed-off-by: Angelo Compagnucci <angelo.compagnucci@xxxxxxxxx>
> Reported-by: Julia Lawall <julia.lawall@xxxxxxxx>
> Acked-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
> 
> Greg, this is the fix for the issue Julia reported.
> 
> Sorry for the hassle (and messing this up in the first palce), but
> could you pick this one up directly into your staging-linus branch.

No worries, now queued up, thanks.

greg k-h



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux