mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
media: i2c: imx576: Fix line length register
The line length is written to FRAME_LENGTH_LINES instead of
LINE_LENGTH_PCK. The value is later overwritten by the VBLANK control,
so the sensor runs with its default line length while the driver
reports HBLANK and PIXEL_RATE computed from IMX576_LINE_LENGTH.
Fixes: ee2e9bf41d ("media: i2c: add imx576 image sensor driver")
Signed-off-by: David Carlier <devnexen@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
9359a4a136
commit
d7e7bca716
|
|
@ -507,7 +507,7 @@ static int imx576_set_window(struct imx576 *imx576,
|
|||
format = v4l2_subdev_state_get_format(state, 0);
|
||||
|
||||
/* Line length */
|
||||
cci_write(imx576->regmap, CCS_R_FRAME_LENGTH_LINES, IMX576_LINE_LENGTH,
|
||||
cci_write(imx576->regmap, CCS_R_LINE_LENGTH_PCK, IMX576_LINE_LENGTH,
|
||||
&ret);
|
||||
|
||||
/* Imaging area */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user