mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
media: ov02c10: Fix bayer-pattern change after default vflip change
After commitd5ebe3f7d1("media: ov02c10: Fix default vertical flip") the reported bayer-pattern of MEDIA_BUS_FMT_SGRBG10_1X10 is no longer correct. Change the 16-bit x-win register (0x3810) value from 2 to 1 so that the sensor will generate data in GRBG bayer-order again. Fixes:d5ebe3f7d1("media: ov02c10: Fix default vertical flip") Cc: stable@vger.kernel.org Reviewed-by: Bryan O'Donoghue <bod@kernel.org> Reviewed-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
63d9571230
commit
905120d747
|
|
@ -168,7 +168,7 @@ static const struct reg_sequence sensor_1928x1092_30fps_setting[] = {
|
|||
{0x3810, 0x00},
|
||||
{0x3811, 0x02},
|
||||
{0x3812, 0x00},
|
||||
{0x3813, 0x02},
|
||||
{0x3813, 0x01},
|
||||
{0x3814, 0x01},
|
||||
{0x3815, 0x01},
|
||||
{0x3816, 0x01},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user