Re: [PATCH v4 01/13] media: i2c: imx214: Use subdev active state

2024-12-17 Thread Sakari Ailus
Hi André, On Mon, Dec 16, 2024 at 10:00:47PM +0100, André Apitzsch via B4 Relay wrote: > @@ -604,34 +568,23 @@ static int imx214_set_format(struct v4l2_subdev *sd, > struct v4l2_rect *__crop; > const struct imx214_mode *mode; > > - mutex_lock(&imx214->mutex); > - > - __crop =

Re: [PATCH v4 01/13] media: i2c: imx214: Use subdev active state

2024-12-16 Thread Ricardo Ribalda Delgado
Hi Andre On Mon, Dec 16, 2024 at 10:01 PM André Apitzsch via B4 Relay wrote: > > From: André Apitzsch > > Port the imx214 sensor driver to use the subdev active state. > > Move all the format configuration to the subdevice state and simplify > the format handling, locking and initialization. > >

[PATCH v4 01/13] media: i2c: imx214: Use subdev active state

2024-12-16 Thread André Apitzsch via B4 Relay
From: André Apitzsch Port the imx214 sensor driver to use the subdev active state. Move all the format configuration to the subdevice state and simplify the format handling, locking and initialization. While at it, simplify imx214_start_streaming() by removing unneeded goto statements and the c