mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (13762): [Mantis CA] CA_MODULE: Look for the module status on driver unload as well
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
cc0e4aacaf
commit
88a6fa9dfe
|
@ -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);
|
dprintk(verbose, MANTIS_DEBUG, 1, "Empty Slot on Adapter(%d) Slot(0)", mantis->num);
|
||||||
mmwrite(card_stat | MANTIS_MASK_PLUGIN, MANTIS_GPIF_IRQCFG);
|
mmwrite(card_stat | MANTIS_MASK_PLUGIN, MANTIS_GPIF_IRQCFG);
|
||||||
ca->slot_state = MODULE_XTRACTED;
|
ca->slot_state = MODULE_XTRACTED;
|
||||||
|
dvb_ca_en50221_camchange_irq(&ca->en50221,
|
||||||
|
0,
|
||||||
|
DVB_CA_EN50221_CAMCHANGE_REMOVED);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue