[PATCH v11 3/5] media: i2c: imx334: support lower bandwidth mode

Conor Dooley conor.dooley at microchip.com
Wed Feb 22 01:58:48 PST 2023


On Wed, Feb 22, 2023 at 11:14:29AM +0200, Sakari Ailus wrote:
> On Wed, Feb 08, 2023 at 10:39:13AM +0530, shravan kumar wrote:
> > From: Shravan Chippa <shravan.chippa at microchip.com>

> > @@ -666,11 +885,26 @@ static int imx334_init_pad_cfg(struct v4l2_subdev *sd,
> >  	struct v4l2_subdev_format fmt = { 0 };
> >  
> >  	fmt.which = sd_state ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE;
> > -	imx334_fill_pad_format(imx334, &supported_mode, &fmt);
> > +	imx334_fill_pad_format(imx334, &supported_modes[0], &fmt);
> 
> Now that there are multiple modes supported, this would appear to get the
> width, height as well as the other fields (apart from mbus code) from the
> first mode.

Is this statement supposed to be a request to change something, or just
a throwaway comment? It's a little hard for me to understand your
intention here, sorry.

> >  
> >  	return imx334_set_pad_format(sd, sd_state, &fmt);
> >  }
> >  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230222/537840fb/attachment.sig>


More information about the linux-arm-kernel mailing list