]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ov8865: move mode_configure out of state_configure
authorAllen Ballway <ballway@chromium.org>
Wed, 23 Jul 2025 19:57:35 +0000 (12:57 -0700)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:16 +0000 (15:59 +0200)
commitda8f23e359166624a504cbeb8263227ca35d38c4
treece2c98ed8f727d4236349da1902ee67d3851a861
parent075710b670d96cf9edca1894abecba7402fe4f34
media: ov8865: move mode_configure out of state_configure

ov8865_mode_configure() only needs to be called on sensor init, but it can
be called multiple times from ov8865_state_configure(). Move
ov8865_mode_configure() to ov8865_sensor_init().

Signed-off-by: Allen Ballway <ballway@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/i2c/ov8865.c