Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168403
b: refs/heads/master
c: 4007a67
h: refs/heads/master
i:
  168401: 11401dd
  168399: bb52cdb
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Nov 7, 2009
1 parent 207227f commit 0e117ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e8961330ec4b558a0f4db18ab5fb566842f492b
refs/heads/master: 4007a672abd88091e3cced158ec491d41c0c454c
6 changes: 4 additions & 2 deletions trunk/drivers/media/video/saa7134/saa7134-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,13 @@ int saa7134_ts_start(struct saa7134_dev *dev)
switch (saa7134_boards[dev->board].ts_type) {
case SAA7134_MPEG_TS_PARALLEL:
saa_writeb(SAA7134_TS_SERIAL0, 0x40);
saa_writeb(SAA7134_TS_PARALLEL, 0xec);
saa_writeb(SAA7134_TS_PARALLEL, 0xec |
(saa7134_boards[dev->board].ts_force_val << 4));
break;
case SAA7134_MPEG_TS_SERIAL:
saa_writeb(SAA7134_TS_SERIAL0, 0xd8);
saa_writeb(SAA7134_TS_PARALLEL, 0x6c);
saa_writeb(SAA7134_TS_PARALLEL, 0x6c |
(saa7134_boards[dev->board].ts_force_val << 4));
saa_writeb(SAA7134_TS_PARALLEL_SERIAL, 0xbc);
saa_writeb(SAA7134_TS_SERIAL1, 0x02);
break;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/video/saa7134/saa7134.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ struct saa7134_board {
enum saa7134_mpeg_type mpeg;
enum saa7134_mpeg_ts_type ts_type;
unsigned int vid_port_opts;
unsigned int ts_force_val:1;
};

#define card_has_radio(dev) (NULL != saa7134_boards[dev->board].radio.name)
Expand Down

0 comments on commit 0e117ad

Please sign in to comment.