V4L/DVB (5990): cinergyt2_suspend: don't forget to unlock cinergyt2->wq_sem
authorOleg Nesterov <oleg@tv-sign.ru>
Thu, 9 Aug 2007 15:02:30 +0000 (12:02 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:46 +0000 (22:04 -0300)
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>
drivers/media/dvb/cinergyT2/cinergyT2.c

index 28929b618e20bb07cfb4f271b5a9da9c207ebcda..b910fa0baa072905a87c99375892f160df85e2d9 100644 (file)
@@ -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;
 }