]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ov02c10: Fix the horizontal flip control
authorHans de Goede <johannes.goede@oss.qualcomm.com>
Mon, 8 Dec 2025 14:32:58 +0000 (15:32 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 6 Jan 2026 08:33:32 +0000 (09:33 +0100)
commit1d2e3b4443a85374fdd6fb8fd2c015e3e3e16100
treef02315de4c2bf318aa9e6531b06917a04b7b5bdf
parentd0bb6f1f2b79d96953bf81a3839ac2aa946ba2fa
media: ov02c10: Fix the horizontal flip control

During sensor calibration I noticed that with the hflip control set to
false/disabled the image was mirrored.

The horizontal flip control is inverted and needs to be set to 1 to not
flip. This is something which seems to be common with various recent
Omnivision sensors, the ov01a10 and ov08x40 also have an inverted
mirror control.

Invert the hflip control to fix the sensor mirroring by default.

Fixes: b7cd2ba3f692 ("media: ov02c10: Support hflip and vflip")
Cc: stable@vger.kernel.org
Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Sebastian Reichel <sre@kernel.org> # T14s Gen6 Snapdragon
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov02c10.c