projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b619f9f
)
V4L/DVB (13753): [Mantis CA] SLOT_CONTROL: Implement Slot RESET
author
Manu Abraham
<abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:17:46 +0000
(
05:17
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:36 +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_ca.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/mantis/mantis_ca.c
b/drivers/media/dvb/mantis/mantis_ca.c
index f6d70cb3f6fec08c72730e6891c76f85102f12de..a30eb844ffdb231678891d7b88d9c33f97216cd5 100644
(file)
--- a/
drivers/media/dvb/mantis/mantis_ca.c
+++ b/
drivers/media/dvb/mantis/mantis_ca.c
@@
-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;
}