summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Jeong <gshark.jeong@gmail.com>2013-12-06 02:43:27 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-09 10:22:55 -0200
commite1c759bd3daf7a59f0d6a6fa06ca237307da7879 (patch)
tree4d047cb79f78a855b35a552c6b8bdeb17c0dfef9 /usr
parentdc793175c5b532f343fe2224afd9189130da0004 (diff)
downloadlinux-e1c759bd3daf7a59f0d6a6fa06ca237307da7879.tar.bz2
[media] media: i2c: lm3560: fix missing unlock on error, fault handling
Correct reference of reading values. (rval -> reg_val) Add the missing unlock before return from function lm3560_get_ctrl() to avoid deadlock. Thank you Dan Carpenter & Sakari. Signed-off-by: Daniel Jeong <gshark.jeong@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions