]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[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 00:07:36 +0000 (21:07 -0300)
commit6e382c509c112324746d493998d5fdc8262da509
treea04c0c246504c3803bd021abd9b57049bd1136e9
parent099987f0aaf28771261b91a41240b9228f2e32b2
[media] dvb-core: Release semaphore on error path dvb_register_device()

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>
drivers/media/dvb/dvb-core/dvbdev.c