Re: [PATCH 1/1] media: i2c: ov08d10: Unlock on error in ov08d10_enum_frame_size()

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

 



Hi Laurent,

On Wed, Feb 02, 2022 at 04:35:56PM +0200, Laurent Pinchart wrote:
> On Wed, Feb 02, 2022 at 04:11:21PM +0200, Sakari Ailus wrote:
> > From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> > 
> > This error path needs to drop the mutex to avoid a deadlock.
> > 
> > Fixes: 7be91e02ed57 ("media: i2c: Add ov08d10 camera sensor driver")
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> > Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
> 
> I want RAII in C :-)
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

Oops. This wasn't the patch I intended to send. But thanks for the
Reviewed-by: nonetheless. :-)

-- 
Sakari Ailus



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux