[media] tuner-xc2028: unlock on error in xc2028_get_afc()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 21 Jul 2012 07:32:59 +0000 (04:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 23:37:19 +0000 (20:37 -0300)
commitf088ccd6404ca5966104afcae319384f41a0b8cb
treeecd2f426d8a60f42953913027669f4c20a099561
parent79980d9c985aa58db50f388634739419e2e20a5a
[media] tuner-xc2028: unlock on error in xc2028_get_afc()

We need to do a mutex_unlock(&priv->lock) before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tuner-xc2028.c