]> git.ipfire.org Git - thirdparty/linux.git/commit
media: atomisp: gc0310: Add check_hwcfg() function
authorHans de Goede <hansg@kernel.org>
Sat, 17 May 2025 11:40:54 +0000 (13:40 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jul 2025 06:43:30 +0000 (08:43 +0200)
commitb9ea99652e973ebdcde855f10c85f690da86cd8d
tree91f1e7995da861a060f12a4af7d21b480797b600
parentbddd68a844f5a1c5ecc2f0409e7a2e7789169477
media: atomisp: gc0310: Add check_hwcfg() function

Add a check_hwcfg() function to check if the external clk-freq, CSI
link-freq and lane-count match the driver's expectations.

Signed-off-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250517114106.43494-12-hansg@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c