V4L/DVB (13762): [Mantis CA] CA_MODULE: Look for the module status on driver unload...
authorManu Abraham <abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:22:33 +0000 (05:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:37 +0000 (11:55 -0200)
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 59f1a06f0d956cbe3d7946a5a60c5dc360f88704..4156a082088617ab5daa34f11f68d981ea4996a2 100644 (file)
@@ -90,6 +90,9 @@ int mantis_pcmcia_init(struct mantis_ca *ca)
                dprintk(verbose, MANTIS_DEBUG, 1, "Empty Slot on Adapter(%d) Slot(0)", mantis->num);
                mmwrite(card_stat | MANTIS_MASK_PLUGIN, MANTIS_GPIF_IRQCFG);
                ca->slot_state = MODULE_XTRACTED;
+               dvb_ca_en50221_camchange_irq(&ca->en50221,
+                                            0,
+                                            DVB_CA_EN50221_CAMCHANGE_REMOVED);
        }
 
        return 0;