diff options
author | Flavio Ceolin | 2017-12-06 17:37:45 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2017-12-18 21:12:30 +0100 |
commit | b6852a6dda2cfc16faf48ca075c120d2a3ba6b04 (patch) | |
tree | 0152b48dbbc49399800bb1185681fbd8a3baf449 /drivers/media/usb/tm6000/tm6000-usb-isoc.h | |
parent | media: exynos4-is: Check pipe is valid before calling subdev (diff) | |
download | kernel-qcow2-linux-b6852a6dda2cfc16faf48ca075c120d2a3ba6b04.tar.gz kernel-qcow2-linux-b6852a6dda2cfc16faf48ca075c120d2a3ba6b04.tar.xz kernel-qcow2-linux-b6852a6dda2cfc16faf48ca075c120d2a3ba6b04.zip |
media: s5p-jpeg: Fix off-by-one problem
s5p_jpeg_runtime_resume() does not call clk_disable_unprepare()
for jpeg->clocks[0] when one of the clk_prepare_enable() fails.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
Acked-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/tm6000/tm6000-usb-isoc.h')
0 files changed, 0 insertions, 0 deletions