linux/drivers/media
Ricardo Ribalda 157c73682d media: tc358746: Move clk_prepare to its own function
Smatch is very confused by a clk_prepare_enable() being called in an
error-path. Fix this warning by moving the clk_prepare_enable() to its
own function.

drivers/media/i2c/tc358746.c:1631 tc358746_suspend() warn: 'tc358746->refclk' from clk_prepare_enable() not released on lines: 1631.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-08-31 09:40:43 +02:00
..
cec media: cec: cec-adap.c: improve CEC_MSG_FL_REPLY_VENDOR_ID check 2024-08-08 15:24:03 +02:00
common media: videobuf2: Drop minimum allocation requirement of 2 buffers 2024-08-27 14:57:38 +03:00
dvb-core media: dvbdev: Initialize sbuf 2024-04-08 13:48:19 +02:00
dvb-frontends drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error 2024-08-09 07:56:38 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: tc358746: Move clk_prepare to its own function 2024-08-31 09:40:43 +02:00
mc media: mc: mark the media devnode as registered from the, start 2024-04-22 11:41:04 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: mgb4: Fixed signal frame rate limit handling 2024-08-14 10:05:31 +02:00
platform media: Improvements to link validation in media graph 2024-08-28 13:10:55 +02:00
radio media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
rc media: rc: remove unused tx_resolution field 2024-07-31 11:21:56 +02:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media: vicodec: allow en/decoder cmd w/o CAPTURE 2024-08-25 08:15:24 +02:00
tuners Revert "media: tuners: fix error return code of hybrid_tuner_request_state()" 2024-08-09 07:56:38 +02:00
usb media: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-08-09 07:56:37 +02:00
v4l2-core media: v4l2-subdev: Support hybrid links in v4l2_subdev_link_validate() 2024-08-26 16:36:14 +03:00
Kconfig
Makefile