[media] drxk: Does not unlock mutex if sanity check failed in scu_command()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Thu, 5 Apr 2012 21:53:20 +0000 (18:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 18 Apr 2012 14:04:28 +0000 (11:04 -0300)
commite4459e1682c107d7ee1bf102c1ba534230e9b50b
treeba48200299a1dc1b24675b0e8355ee2119815ada
parent3626479e482aa3247aac03724094ba6c13ea1e46
[media] drxk: Does not unlock mutex if sanity check failed in scu_command()

If sanity check fails in scu_command(), goto error leads to unlock of
an unheld mutex. The check should not fail in reality, but it nevertheless
worth fixing.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxk_hard.c