aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 03:18:27 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 08:55:36 -0500
commit990f8d1e161429ee1a0e9708f7989543e4648f73 (patch)
tree97a80b1bf4c3cb67b231ab6e0d1e0b6953c79463
parentfb6de9c5fe13fd5cd866c49204e6bd91d73f83b0 (diff)
V4L/DVB (13754): [Mantis] CAM_CONTROL: Implement TS control
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.c1
-rw-r--r--drivers/media/dvb/mantis/mantis_common.h2
-rw-r--r--drivers/media/dvb/mantis/mantis_core.h4
3 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/mantis/mantis_ca.c b/drivers/media/dvb/mantis/mantis_ca.c
index a30eb844ffdb..b9d808bf7109 100644
--- a/drivers/media/dvb/mantis/mantis_ca.c
+++ b/drivers/media/dvb/mantis/mantis_ca.c
@@ -105,6 +105,7 @@ static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot)
105 struct mantis_pci *mantis = ca->ca_priv; 105 struct mantis_pci *mantis = ca->ca_priv;
106 106
107 dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): TS control", slot); 107 dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): TS control", slot);
108 mantis_set_direction(mantis, 1); /* Enable TS through CAM */
108 109
109 return 0; 110 return 0;
110} 111}
diff --git a/drivers/media/dvb/mantis/mantis_common.h b/drivers/media/dvb/mantis/mantis_common.h
index 49f2f118b498..ac3eefec0a7b 100644
--- a/drivers/media/dvb/mantis/mantis_common.h
+++ b/drivers/media/dvb/mantis/mantis_common.h
@@ -153,6 +153,8 @@ extern int mantis_dvb_exit(struct mantis_pci *mantis);
153extern void mantis_dma_xfer(unsigned long data); 153extern void mantis_dma_xfer(unsigned long data);
154extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value); 154extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
155 155
156extern void mantis_set_direction(struct mantis_pci *mantis, int direction);
157
156extern int mantis_ca_init(struct mantis_pci *mantis); 158extern int mantis_ca_init(struct mantis_pci *mantis);
157extern void mantis_ca_exit(struct mantis_pci *mantis); 159extern void mantis_ca_exit(struct mantis_pci *mantis);
158 160
diff --git a/drivers/media/dvb/mantis/mantis_core.h b/drivers/media/dvb/mantis/mantis_core.h
index 31b2a756d99e..a80939409935 100644
--- a/drivers/media/dvb/mantis/mantis_core.h
+++ b/drivers/media/dvb/mantis/mantis_core.h
@@ -53,9 +53,5 @@ extern int mantis_i2c_init(struct mantis_pci *mantis);
53extern int mantis_i2c_exit(struct mantis_pci *mantis); 53extern int mantis_i2c_exit(struct mantis_pci *mantis);
54extern int mantis_core_init(struct mantis_pci *mantis); 54extern int mantis_core_init(struct mantis_pci *mantis);
55extern int mantis_core_exit(struct mantis_pci *mantis); 55extern int mantis_core_exit(struct mantis_pci *mantis);
56//extern void mantis_fe_powerup(struct mantis_pci *mantis);
57//extern void mantis_fe_powerdown(struct mantis_pci *mantis);
58//extern void mantis_fe_reset(struct dvb_frontend *fe);
59extern void mantis_set_direction(struct mantis_pci *mantis, int direction);
60 56
61#endif //__MANTIS_CORE_H 57#endif //__MANTIS_CORE_H