]> git.ipfire.org Git - thirdparty/linux.git/commit
media: ov02c10: Fix default vertical flip
authorSebastian Reichel <sre@kernel.org>
Wed, 20 Aug 2025 00:13:19 +0000 (02:13 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 29 Oct 2025 13:07:01 +0000 (14:07 +0100)
commitd5ebe3f7d13d4cee3ff7e718de23564915aaf163
treefd839c3e4f51f93834002cd0bb1616945630ef4b
parente138e7f000424ee3bfef5fd38055d4c3ed5933b9
media: ov02c10: Fix default vertical flip

The driver right now defaults to setting the vertical flip bit. This
conflicts with proper handling of the rotation property defined in
ACPI or device tree, so drop the VFLIP bit. It should be handled via
V4L2_CID_VFLIP instead.

Reported-by: Frederic Stuyk <fstuyk@runbox.com>
Closes: https://lore.kernel.org/all/b6df9ae7-ea9f-4e5a-8065-5b130f534f37@runbox.com/
Fixes: 44f89010dae0 ("media: i2c: Add Omnivision OV02C10 sensor driver")
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov02c10.c