mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
V4L/DVB (13753): [Mantis CA] SLOT_CONTROL: Implement Slot RESET
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
b619f9f8a1
commit
fb6de9c5fe
@ -80,6 +80,11 @@ static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot)
|
||||
struct mantis_pci *mantis = ca->ca_priv;
|
||||
|
||||
dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): Slot RESET", slot);
|
||||
udelay(500); /* Wait.. */
|
||||
mmwrite(0xda, MANTIS_PCMCIA_RESET); /* Leading edge assert */
|
||||
udelay(500);
|
||||
mmwrite(0x00, MANTIS_PCMCIA_RESET); /* Trailing edge deassert */
|
||||
msleep(1000);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user