]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] af9035: unlock on error in af9035_i2c_master_xfer()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Nov 2013 07:50:46 +0000 (04:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Dec 2013 17:27:21 +0000 (15:27 -0200)
commit3189ef0290dcc9f44782672fade35847cb30da00
treec71fad6f640f49dd66034e3b4256a31fc623d720
parentd18a88b1f535d627412b2a265d71b2f7d464860e
[media] af9035: unlock on error in af9035_i2c_master_xfer()

We introduced a couple new error paths which are missing unlocks.
Fixes: 7760e148350b ('[media] af9035: Don't use dynamic static allocation')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: stable@vger.kernel.org
drivers/media/usb/dvb-usb-v2/af9035.c