]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: ov08x40: Fix the horizontal flip control
authorHao Yao <hao.yao@intel.com>
Fri, 25 Apr 2025 04:33:25 +0000 (12:33 +0800)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:16 +0000 (15:59 +0200)
commitc7df6f339af94689fdc433887f9fbb480bf8a4ed
tree81e5600541fde4a9245f960e1a0a0a9e9795c70e
parentbfbd5aa5347fbd11ade188b316b800bfb27d9e22
media: ov08x40: Fix the horizontal flip control

The datasheet of ov08x40 doesn't match the hardware behavior.
0x3821[2] == 1 is the original state and 0 the horizontal flip enabled.

Signed-off-by: Hao Yao <hao.yao@intel.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Tested-by: Hans de Goede <hansg@kernel.org> # ThinkPad X1 Carbon Gen 12 & Gen 13
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov08x40.c