Skip to content

Commit

Permalink
V4L/DVB (13754): [Mantis] CAM_CONTROL: Implement TS control
Browse files Browse the repository at this point in the history
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent fb6de9c commit 990f8d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/mantis/mantis_ca.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 2 additions & 0 deletions drivers/media/dvb/mantis/mantis_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 0 additions & 4 deletions drivers/media/dvb/mantis/mantis_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 990f8d1

Please sign in to comment.