[media] media: i2c: lm3560: fix missing unlock on error in lm3560_set_ctrl()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 7 Nov 2013 12:44:42 +0000 (09:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 10 Dec 2013 13:07:30 +0000 (11:07 -0200)
commiteed8c3eebce72fe4fc766f9a23e4324b04bd86cf
treec32fbe5b55dc3f8f9735e704c5e5b5e363a0637c
parentfe9a2bd881d96b1491b283483d7346abb52111f9
[media] media: i2c: lm3560: fix missing unlock on error in lm3560_set_ctrl()

Add the missing unlock before return from function lm3560_set_ctrl()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/lm3560.c