commit | 7df66d778317353c94c3a2832cd26e320ca28b7d | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Fri Nov 24 17:04:37 2017 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Dec 08 09:24:01 2017 -0500 |
tree | 1d809005ba4840aa10fd58cf15b7306067839112 | |
parent | b48d908d2b04e5c11bf0f9035bf52f7c0c988603 [diff] |
media: v4l: mt9v032: Disable clock on error paths mt9v032_power_on() leaves clk enabled in case of errors, but it is not expected by its callers. There is a similar problem in mt9v032_registered(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>