media: ov08x40: Move ov08x40_identify_module() function up
authorHans de Goede <hdegoede@redhat.com>
Fri, 20 Dec 2024 14:41:25 +0000 (15:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:58:53 +0000 (07:58 +0200)
commit9c00d5445423f4cb9f34fbdcb3961a1d9cc3762e
tree681ada08e689e074d3c7719cf9ad67aebd3ae75d
parentfc96a720d8876854e24bca304b941bd6bbad36fb
media: ov08x40: Move ov08x40_identify_module() function up

[ Upstream commit 7a39639e448f070cbe37317ac922886b6080ff43 ]

Move the ov08x40_identify_module() function to above ov08x40_set_stream()
this is a preparation patch for adding a missing ov08x40_identify_module()
call to ov08x40_set_stream().

No functional changes, just moving code around.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Stable-dep-of: ebf185efadb7 ("media: ov08x40: Add missing ov08x40_identify_module() call on stream-start")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/ov08x40.c