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>
This commit is contained in:
Oleg Nesterov 2007-08-09 12:02:30 -03:00 committed by Mauro Carvalho Chehab
parent 7963fa48da
commit 1597f1f676
1 changed files with 2 additions and 0 deletions

View 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;
}