diff options
| author | Yang Yingliang <[email protected]> | 2022-06-22 05:42:43 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-15 15:18:26 +0100 |
| commit | 7a9795b31049b7e233d050a82b00094155a695c7 (patch) | |
| tree | 3ab246fbdcf15ed1be530efddf089b26719c5398 /tools/perf/scripts/python | |
| parent | 94d7fd9692b54ccc453ba3a2c482dda3110bc778 (diff) | |
media: ov7251: add missing disable functions on error in ov7251_set_power_on()
Add the missing gpiod_set_value_cansleep() and clk_disable_unprepare()
before return from ov7251_set_power_on() in the error handling case.
Fixes: 9e1d3012cc10 ("media: i2c: Remove .s_power() from ov7251")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions