1
linux/drivers/media/i2c/s5c73m3
Ricardo Ribalda 334af4c52e media: i2c: s5c73m3: 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/s5c73m3/s5c73m3-core.c:1425 __s5c73m3_power_off() warn: 'state->clock' from clk_prepare_enable() not released on lines: 1425.

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
..
Makefile
s5c73m3-core.c media: i2c: s5c73m3: Move clk_prepare to its own function 2024-08-31 09:40:43 +02:00
s5c73m3-ctrls.c
s5c73m3-spi.c
s5c73m3.h