diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2017-11-24 17:04:37 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-08 09:24:01 -0500 |
commit | 7df66d778317353c94c3a2832cd26e320ca28b7d (patch) | |
tree | 1d809005ba4840aa10fd58cf15b7306067839112 /drivers/gpio/gpiolib-legacy.c | |
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>
Diffstat (limited to 'drivers/gpio/gpiolib-legacy.c')
0 files changed, 0 insertions, 0 deletions