diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-09 12:02:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-09 12:02:30 -0300 |
commit | f350aec4fb68d3cb924607b644a3688d35777fc7 (patch) | |
tree | b7ddcddb7120bf571988f81ee5032e484096d710 /linux/drivers/media | |
parent | efb5bd7de39746704a424e7c028008e0efacefcf (diff) | |
download | mediapointer-dvb-s2-f350aec4fb68d3cb924607b644a3688d35777fc7.tar.gz mediapointer-dvb-s2-f350aec4fb68d3cb924607b644a3688d35777fc7.tar.bz2 |
cinergyt2_suspend: don't forget to unlock cinergyt2->wq_sem
From: Oleg Nesterov <oleg@tv-sign.ru>
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 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index 0cde1e2d3..4bb318582 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -1080,6 +1080,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; } |