aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 03:17:46 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:55:36 -0500
commitfb6de9c5fe13fd5cd866c49204e6bd91d73f83b0 (patch)
tree9dde3734aeb8105be561285b7f471c45b6eb3d3e
parentb619f9f8a111be3f6ec8ec2671eb93c66a673b90 (diff)
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>
-rw-r--r--drivers/media/dvb/mantis/mantis_ca.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ca.c b/drivers/media/dvb/mantis/mantis_ca.c
index f6d70cb3f6f..a30eb844ffd 100644
--- 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)
80 struct mantis_pci *mantis = ca->ca_priv; 80 struct mantis_pci *mantis = ca->ca_priv;
81 81
82 dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): Slot RESET", slot); 82 dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): Slot RESET", slot);
83 udelay(500); /* Wait.. */
84 mmwrite(0xda, MANTIS_PCMCIA_RESET); /* Leading edge assert */
85 udelay(500);
86 mmwrite(0x00, MANTIS_PCMCIA_RESET); /* Trailing edge deassert */
87 msleep(1000);
83 88
84 return 0; 89 return 0;
85} 90}