summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_ca.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 05:35:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:42 -0200
commit42f541bfd1a9bad84a288d59a98fdb284df61a45 (patch)
treecb32b61129450d5228d3c6d83233956bf978765e /drivers/media/dvb/mantis/mantis_ca.c
parent99b55b2c4478e6370aaa85173f5090a070c50a08 (diff)
downloadblackbird-obmc-linux-42f541bfd1a9bad84a288d59a98fdb284df61a45.tar.gz
blackbird-obmc-linux-42f541bfd1a9bad84a288d59a98fdb284df61a45.zip
V4L/DVB (13790): [Mantis] Relocate queue initialization
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_ca.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_ca.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ca.c b/drivers/media/dvb/mantis/mantis_ca.c
index 53c01b3023cc..7aa27e0703b8 100644
--- a/drivers/media/dvb/mantis/mantis_ca.c
+++ b/drivers/media/dvb/mantis/mantis_ca.c
@@ -158,6 +158,10 @@ int mantis_ca_init(struct mantis_pci *mantis)
mutex_init(&ca->ca_lock);
+ init_waitqueue_head(&ca->hif_data_wq);
+ init_waitqueue_head(&ca->hif_opdone_wq);
+ init_waitqueue_head(&ca->hif_write_wq);
+
dprintk(verbose, MANTIS_ERROR, 1, "Registering EN50221 device");
if ((result = dvb_ca_en50221_init(dvb_adapter, &ca->en50221, ca_flags, 1)) != 0) {
dprintk(verbose, MANTIS_ERROR, 1, "EN50221: Initialization failed");
OpenPOWER on IntegriCloud