commit | b6852a6dda2cfc16faf48ca075c120d2a3ba6b04 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Wed Dec 06 11:37:45 2017 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Mon Dec 18 15:12:30 2017 -0500 |
tree | 0152b48dbbc49399800bb1185681fbd8a3baf449 | |
parent | 3090a1915e9865d23f2aa76cc01e5b5f9cb6d7e3 [diff] |
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>