diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 03:18:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 08:55:36 -0500 |
commit | 990f8d1e161429ee1a0e9708f7989543e4648f73 (patch) | |
tree | 97a80b1bf4c3cb67b231ab6e0d1e0b6953c79463 | |
parent | fb6de9c5fe13fd5cd866c49204e6bd91d73f83b0 (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.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_common.h | 2 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_core.h | 4 |
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); | |||
153 | extern void mantis_dma_xfer(unsigned long data); | 153 | extern void mantis_dma_xfer(unsigned long data); |
154 | extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value); | 154 | extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value); |
155 | 155 | ||
156 | extern void mantis_set_direction(struct mantis_pci *mantis, int direction); | ||
157 | |||
156 | extern int mantis_ca_init(struct mantis_pci *mantis); | 158 | extern int mantis_ca_init(struct mantis_pci *mantis); |
157 | extern void mantis_ca_exit(struct mantis_pci *mantis); | 159 | extern 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); | |||
53 | extern int mantis_i2c_exit(struct mantis_pci *mantis); | 53 | extern int mantis_i2c_exit(struct mantis_pci *mantis); |
54 | extern int mantis_core_init(struct mantis_pci *mantis); | 54 | extern int mantis_core_init(struct mantis_pci *mantis); |
55 | extern int mantis_core_exit(struct mantis_pci *mantis); | 55 | extern 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); | ||
59 | extern void mantis_set_direction(struct mantis_pci *mantis, int direction); | ||
60 | 56 | ||
61 | #endif //__MANTIS_CORE_H | 57 | #endif //__MANTIS_CORE_H |