diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-08-09 12:02:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 22:04:46 -0300 |
commit | 1597f1f676d2c425028b6a20f21a987f489dbdd2 (patch) | |
tree | 429c0704fb45331605e8aab74b08b8a0749f843d /drivers | |
parent | 7963fa48dafd07a8c6b6007fb038095553ad6a0f (diff) | |
download | linux-1597f1f676d2c425028b6a20f21a987f489dbdd2.tar.gz linux-1597f1f676d2c425028b6a20f21a987f489dbdd2.tar.bz2 linux-1597f1f676d2c425028b6a20f21a987f489dbdd2.zip |
V4L/DVB (5990): cinergyt2_suspend: don't forget to unlock cinergyt2->wq_sem
Restore unlock of cinergyt2->wq_sem, was deleted by accident.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/cinergyT2/cinergyT2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/cinergyT2/cinergyT2.c b/drivers/media/dvb/cinergyT2/cinergyT2.c index 28929b618e20..b910fa0baa07 100644 --- a/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -1008,6 +1008,8 @@ static int cinergyt2_suspend (struct usb_interface *intf, pm_message_t state) cinergyt2_sleep(cinergyt2, 1); mutex_unlock(&cinergyt2->sem); + mutex_unlock(&cinergyt2->wq_sem); + return 0; } |