linux/drivers/media
Sakari Ailus 6e1e132e00 media: pxa_camera: Fix probe error handling
Fix and simplify error handling in pxa_camera probe, by moving devm_*()
functions early in the probe function and then tearing down what was set
up on error patch.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de> # imx6qp
Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> # rcar + adv746x
Tested-by: Aishwarya Kothari <aishwarya.kothari@toradex.com> # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-08-10 07:58:31 +02:00
..
cec media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
common drivers/media/common/siano/smsendian.c : eliminate unnecessary type conversions 2023-07-19 12:57:46 +02:00
dvb-core media updates for v6.5-rc1 2023-07-05 10:42:32 -07:00
dvb-frontends media: drxk: Use %*ph for printing hexdump of a small buffer 2023-07-25 09:24:30 +02:00
firewire
i2c media: adv748x: Return to endpoint matching 2023-08-10 07:57:40 +02:00
mc media: mc: Make media_get_pad_index() use pad type flag 2023-05-25 16:21:22 +02:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: v4l: async: Rework internal lists 2023-07-28 10:46:32 +02:00
platform media: pxa_camera: Fix probe error handling 2023-08-10 07:58:31 +02:00
radio media: wl128x: Fix spelling mistake "Transfered" -> "Transferred" 2023-07-19 12:57:48 +02:00
rc media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media: Remove flag FBINFO_FLAG_DEFAULT from fbdev drivers 2023-07-25 09:24:30 +02:00
tuners media: tuners: qt1010: replace BUG_ON with a regular error 2023-07-25 09:24:30 +02:00
usb media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer 2023-07-19 12:57:50 +02:00
v4l2-core media: v4l: async: Support fwnode endpoint list matching for subdevs 2023-07-28 10:53:41 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile