]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: i2c: ov08d10: fix image vertical start setting
authorMatthias Fend <matthias.fend@emfend.at>
Tue, 24 Mar 2026 10:41:36 +0000 (11:41 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 26 Mar 2026 13:33:07 +0000 (14:33 +0100)
commit5d150fa0f16096d736bd24d13e04495da5116fab
tree016e0972091f5deeb69c29cbba6368f7d5690d8f
parent35c7046be2be5e60be8128facb359a47f39e99cd
media: i2c: ov08d10: fix image vertical start setting

The current settings for the "image vertical start" register appear to be
incorrect. While this only results in an incorrect start line for native
modes, this faulty setting causes actual problems in binning mode. At least
on an i.MX8MP test system, only corrupted frames could be received.
To correct this, the recommended settings from the reference register sets
are used for all modes. Since this shifts the start by one line, the Bayer
pattern also changes, which has also been corrected.

Fixes: 7be91e02ed57 ("media: i2c: Add ov08d10 camera sensor driver")
Cc: stable@vger.kernel.org
Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov08d10.c