diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2024-08-16 12:32:01 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-08-31 09:40:43 +0200 |
| commit | 334af4c52eb2eba004d1419bf93d638fcf19abb8 (patch) | |
| tree | 2e4d7f1658a9bf4be782bdb74fb58aa6762a76ac /tools/perf/scripts/python | |
| parent | media: i2c: ov5645: Refactor ov5645_set_power_off() (diff) | |
| download | linux-334af4c52eb2eba004d1419bf93d638fcf19abb8.tar.gz linux-334af4c52eb2eba004d1419bf93d638fcf19abb8.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
