[media] media: i2c: lm3560: fix missing unlock on error, fault handling
authorDaniel Jeong <gshark.jeong@gmail.com>
Fri, 6 Dec 2013 05:43:27 +0000 (02:43 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 9 Dec 2013 12:22:55 +0000 (10:22 -0200)
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>

No differences found