OSDN Git Service

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)
commit206704a1fe0bcaaa036d3e90358bb168fac8bea1
treef586a4dc520add4c7cc48564cfe1c5b9fbffd407
parentf0c15b360fb65ee39849afe987c16eb3d0175d0d
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: 728a5c64ae5f ("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