V4L/DVB (13760): [Mantis CA] CA_MODULE: Look for module status on driver load
authorSigmund Augdal <sigmund@snap.tv>
Fri, 4 Dec 2009 08:21:27 +0000 (05:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:37 +0000 (11:55 -0200)
Signed-off-by: Sigmund Augdal <sigmund@snap.tv>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_pcmcia.c

index 47cc720d35dde99aa8eb290d29e0984aeeb710c6..59f1a06f0d956cbe3d7946a5a60c5dc360f88704 100644 (file)
@@ -83,6 +83,9 @@ int mantis_pcmcia_init(struct mantis_ca *ca)
                dprintk(verbose, MANTIS_DEBUG, 1, "CAM found on Adapter(%d) Slot(0)", mantis->num);
                mmwrite(card_stat | MANTIS_MASK_PLUGOUT, MANTIS_GPIF_IRQCFG);
                ca->slot_state = MODULE_INSERTED;
+               dvb_ca_en50221_camchange_irq(&ca->en50221,
+                                            0,
+                                            DVB_CA_EN50221_CAMCHANGE_INSERTED);
        } else {
                dprintk(verbose, MANTIS_DEBUG, 1, "Empty Slot on Adapter(%d) Slot(0)", mantis->num);
                mmwrite(card_stat | MANTIS_MASK_PLUGIN, MANTIS_GPIF_IRQCFG);