]> git.baikalelectronics.ru Git - kernel.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)
commit64d22b998ff4298971a69d8c516902cde7b20e58
treec71fad6f640f49dd66034e3b4256a31fc623d720
parent6cce9ec030f472175d7245abc5f834f653b027de
[media] af9035: unlock on error in af9035_i2c_master_xfer()

We introduced a couple new error paths which are missing unlocks.
Fixes: 3c5a66f3e113 ('[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