[media] cx24117: prevent mutex to be stuck on locked state if FE init fails
authorLuis Alves <ljalvs@gmail.com>
Fri, 4 Oct 2013 14:48:11 +0000 (11:48 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 14 Oct 2013 09:38:56 +0000 (06:38 -0300)
commit4699b5f34a09e6fcc006567876b0c3d35a188c62
tree8a111a3c0db935633918846c9af661e0335180af
parent3bf740bf8d4258e1e22176761663cf298518def3
[media] cx24117: prevent mutex to be stuck on locked state if FE init fails

This patch will fix the situation where the mutex was left in a
locked state if for some reason the FE init failed.

Signed-off-by: Luis Alves <ljalvs@gmail.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/cx24117.c