Hi Tomasz, >On Fri, Aug 3, 2018 at 11:57 AM Ping-chung Chen <ping-chung.chen@xxxxxxxxx> wrote: > > From: "Chen, Ping-chung" <ping-chung.chen@xxxxxxxxx> > > Add a V4L2 sub-device driver for the Sony IMX208 image sensor. > This is a camera sensor using the I2C bus for control and the > CSI-2 bus for data. > > Signed-off-by: Ping-Chung Chen <ping-chung.chen@xxxxxxxxx> > --- > since v1: > -- Update the function media_entity_pads_init for upstreaming. > -- Change the structure name mutex as imx208_mx. > -- Refine the control flow of test pattern function. > -- vflip/hflip control support (will impact the output bayer order) > -- support 4 bayer orders output (via change v/hflip) > - SRGGB10(default), SGRBG10, SGBRG10, SBGGR10 > -- Simplify error handling in the set_stream function. > since v2: > -- Refine coding style. > -- Fix the if statement to use pm_runtime_get_if_in_use(). > -- Print more error log during error handling. > -- Remove mutex_destroy() from imx208_free_controls(). > -- Add more comments. > since v3: > -- Set explicit indices to link frequencies. > [snip] > +/* Menu items for LINK_FREQ V4L2 control */ static const s64 > +link_freq_menu_items[] = { > + [IMX208_LINK_FREQ_384MHZ_INDEX] = IMX208_LINK_FREQ_384MHZ, > + [IMX208_LINK_FREQ_384MHZ_INDEX] = IMX208_LINK_FREQ_96MHZ, >IMX208_LINK_FREQ_96MHZ_INDEX? Oh... It's my mistake. Fixed. >With this fixed (and if there are no other changes), feel free to add >Reviewed-by: Tomasz Figa <tfiga@xxxxxxxxxxxx> Sure. >Best regards, >Tomasz