[media] af9035: fix missing unlock on error in af9035_ctrl_msg()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 26 Mar 2013 04:32:19 +0000 (01:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 26 Mar 2013 11:37:45 +0000 (08:37 -0300)
commit0170a39b69ae65fffb40bd162730e3de2b87c835
tree3d2ce260a461cac9d841b9d320d94ac5fb51afcc
parent004e45d736bfe62159bd4dc1549eff414bd27496
[media] af9035: fix missing unlock on error in af9035_ctrl_msg()

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/af9035.c