Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137932
b: refs/heads/master
c: df7fa09
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 773b17f commit df973da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 50144aeeb702ea105697ae5249f059ea3990b838
refs/heads/master: df7fa09cca9d80f746c29f95b09a7223f6c2f4e7
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@ struct em28xx_board em28xx_boards[] = {
.tuner_type = TUNER_LG_PAL_NEW_TAPC,
.tda9887_conf = TDA9887_PRESENT,
.decoder = EM28XX_TVP5150,
.adecoder = EM28XX_TVAUDIO,
.input = { {
.type = EM28XX_VMUX_TELEVISION,
.vmux = TVP5150_COMPOSITE0,
Expand Down Expand Up @@ -1917,6 +1918,8 @@ void em28xx_card_setup(struct em28xx *dev)
request_module("tvp5150");
if (dev->board.tuner_type != TUNER_ABSENT)
request_module("tuner");
if (dev->board.adecoder == EM28XX_TVAUDIO)
request_module("tvaudio");
#endif

em28xx_config_tuner(dev);
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ enum em28xx_decoder {
EM28XX_SAA711X,
};

enum em28xx_adecoder {
EM28XX_NOADECODER = 0,
EM28XX_TVAUDIO,
};

struct em28xx_board {
char *name;
int vchannels;
Expand All @@ -382,6 +387,7 @@ struct em28xx_board {
unsigned char xclk, i2c_speed;

enum em28xx_decoder decoder;
enum em28xx_adecoder adecoder;

struct em28xx_input input[MAX_EM28XX_INPUT];
struct em28xx_input radio;
Expand Down

0 comments on commit df973da

Please sign in to comment.