summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-08-09 12:02:30 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-08-09 12:02:30 -0300
commitf350aec4fb68d3cb924607b644a3688d35777fc7 (patch)
treeb7ddcddb7120bf571988f81ee5032e484096d710 /linux/drivers/media
parentefb5bd7de39746704a424e7c028008e0efacefcf (diff)
downloadmediapointer-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.c2
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;
}