]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: restore missing 'return' statement
authorArnd Bergmann <arnd@arndb.de>
Mon, 2 Aug 2021 14:38:14 +0000 (16:38 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 4 Oct 2021 15:54:48 +0000 (17:54 +0200)
commitf2a33fc826ac6aa112ef1b0a771e42bffd5ef40c
treef586a4dc520add4c7cc48564cfe1c5b9fbffd407
parenta180144ade642376d3391cfb6edcb9424e84af0f
media: atomisp: restore missing 'return' statement

The input_system_configure_channel_sensor() function lost its final
return code in a previous patch:

drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c: In function 'input_system_configure_channel_sensor':
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c:1649:1: error: control reaches end of non-void function [-Werror=return-type]

Restore what was there originally.

Link: https://lore.kernel.org/linux-media/20210802143820.1150099-1-arnd@kernel.org
Fixes: 00a7c02b7505 ("media: atomisp: remove dublicate code")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c