linux-stable/drivers/media/platform/marvell-ccic
Evgeny Novikov 2b889a4afc media: marvell-ccic: set error code in probe
When i2c_new_client_device() fails, cafe_pci_probe() cleans up all
resources and returns 0. The patch sets the error code on the
corresponding path.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-06-17 10:21:24 +02:00
..
cafe-driver.c media: marvell-ccic: set error code in probe 2021-06-17 10:21:24 +02:00
Kconfig media: marvell-ccic: provide a clock for the sensor 2019-06-24 11:33:49 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcam-core.c media: v4l2-subdev: add subdev-wide state struct 2021-06-17 10:01:27 +02:00
mcam-core.h media: marvell-ccic: Use v4l2_async_notifier_add_*_subdev 2021-02-06 08:44:00 +01:00
mmp-driver.c media: v4l2-async: Improve v4l2_async_notifier_add_*_subdev() API 2021-02-06 09:18:53 +01:00