mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
media: i2c: imx219: Fix test pattern window for 640x480 mode
The 640x480 mode specifies incorrect values for the TP_WINDOW_WIDTH and TP_WINDOW_HEIGHT registers, which likely got copied from the 1640x1232 mode. They should be identical to the X_OUTPUT_SIZE and Y_OUTPUT_SIZE registers as for all the other modes, to avoid cropping the test pattern. Fix them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
ec80c606cc
commit
55c3ec033b
1 changed files with 2 additions and 2 deletions
|
@ -263,8 +263,8 @@ static const struct cci_reg_sequence mode_640_480_regs[] = {
|
|||
{ IMX219_REG_Y_ADD_END_A, 1711 },
|
||||
{ IMX219_REG_X_OUTPUT_SIZE, 640 },
|
||||
{ IMX219_REG_Y_OUTPUT_SIZE, 480 },
|
||||
{ IMX219_REG_TP_WINDOW_WIDTH, 1640 },
|
||||
{ IMX219_REG_TP_WINDOW_HEIGHT, 1232 },
|
||||
{ IMX219_REG_TP_WINDOW_WIDTH, 640 },
|
||||
{ IMX219_REG_TP_WINDOW_HEIGHT, 480 },
|
||||
};
|
||||
|
||||
static const struct cci_reg_sequence raw8_framefmt_regs[] = {
|
||||
|
|
Loading…
Reference in a new issue