]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: i2c: ov01a10: Fix test-pattern disabling
authorHans de Goede <hansg@kernel.org>
Tue, 14 Oct 2025 17:40:14 +0000 (19:40 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 11:28:48 +0000 (12:28 +0100)
commit409fb57c1b3deada4b8e153eb6344afb3c2dfb9c
tree7163d2a443b80ff74191ac5f1dd3136fe775eb20
parentf8563a375e7fba7c776eb591d4498be592c19098
media: i2c: ov01a10: Fix test-pattern disabling

When the test-pattern control gets set to 0 (Disabled) 0 should be written
to the test-pattern register, rather then doing nothing.

Fixes: 0827b58dabff ("media: i2c: add ov01a10 image sensor driver")
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hansg@kernel.org>
Tested-by: Mehdi Djait <mehdi.djait@linux.intel.com> # Dell XPS 9315
Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com>
Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov01a10.c