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>
This commit is contained in:
Manu Abraham 2009-12-04 05:18:27 -03:00 committed by Mauro Carvalho Chehab
parent fb6de9c5fe
commit 990f8d1e16
3 changed files with 3 additions and 4 deletions

View file

@ -105,6 +105,7 @@ static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot)
struct mantis_pci *mantis = ca->ca_priv;
dprintk(verbose, MANTIS_DEBUG, 1, "Slot(%d): TS control", slot);
mantis_set_direction(mantis, 1); /* Enable TS through CAM */
return 0;
}

View file

@ -153,6 +153,8 @@ extern int mantis_dvb_exit(struct mantis_pci *mantis);
extern void mantis_dma_xfer(unsigned long data);
extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
extern void mantis_set_direction(struct mantis_pci *mantis, int direction);
extern int mantis_ca_init(struct mantis_pci *mantis);
extern void mantis_ca_exit(struct mantis_pci *mantis);

View file

@ -53,9 +53,5 @@ extern int mantis_i2c_init(struct mantis_pci *mantis);
extern int mantis_i2c_exit(struct mantis_pci *mantis);
extern int mantis_core_init(struct mantis_pci *mantis);
extern int mantis_core_exit(struct mantis_pci *mantis);
//extern void mantis_fe_powerup(struct mantis_pci *mantis);
//extern void mantis_fe_powerdown(struct mantis_pci *mantis);
//extern void mantis_fe_reset(struct dvb_frontend *fe);
extern void mantis_set_direction(struct mantis_pci *mantis, int direction);
#endif //__MANTIS_CORE_H