[media] dvb-core: Release semaphore on error path dvb_register_device()
authorSantosh Nayak <santoshprasadnayak@gmail.com>
Sat, 23 Jun 2012 10:59:54 +0000 (07:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 22:36:27 +0000 (19:36 -0300)
There is a missing "up_write()" here. Semaphore should be released
before returning error value.

Cc: stable@kernel.org
Signed-off-by: Santosh Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found