summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/tw2804.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov2017-11-24 23:04:37 +0100
committerMauro Carvalho Chehab2017-12-08 15:24:01 +0100
commit7df66d778317353c94c3a2832cd26e320ca28b7d (patch)
tree1d809005ba4840aa10fd58cf15b7306067839112 /drivers/media/i2c/tw2804.c
parentmedia: ov7670: add V4L2_CID_TEST_PATTERN control (diff)
downloadkernel-qcow2-linux-7df66d778317353c94c3a2832cd26e320ca28b7d.tar.gz
kernel-qcow2-linux-7df66d778317353c94c3a2832cd26e320ca28b7d.tar.xz
kernel-qcow2-linux-7df66d778317353c94c3a2832cd26e320ca28b7d.zip
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/media/i2c/tw2804.c')
0 files changed, 0 insertions, 0 deletions