upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:58:43 +0000 (11:58 +0900)
commit87789e3b9d86ad4c25b9eead37c248b9c110f1e4
treeadd426256ec767396bdae3de161321fafe0de123
parente258a2463735e7fbb57f5aa4211a8899721c34ac
upstream: [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