[media] dib9000: fix explicit lock mismatches
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 6 Mar 2012 20:08:16 +0000 (17:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 19 Mar 2012 17:36:17 +0000 (14:36 -0300)
commit9bb24a7e49c33c16c4d9d7d3496f46626e573d02
treeb289561a5e87c41b585f24206dfb65a20c4b69dd
parentb47acf2a161b2f3001bf50dfa740477db6d32327
[media] dib9000: fix explicit lock mismatches

There are several error paths, where &state->platform.risc.mem_mbx_lock
is not unlocked. The patch fixes it.

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

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