Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21646
b: refs/heads/master
c: 9475fb1
h: refs/heads/master
v: v3
  • Loading branch information
Markus Rechberger authored and Mauro Carvalho Chehab committed Feb 27, 2006
1 parent edcecc1 commit b734948
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 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: cce91e36d74be635abb99aa1dc74951e11be8aea
refs/heads/master: 9475fb1c717ee5ce3df767b8e3b9439d341f043d
14 changes: 7 additions & 7 deletions trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct em28xx_board em28xx_boards[] = {
.input = {{
.type = EM28XX_VMUX_TELEVISION,
.vmux = 2,
.amux = 0,
.amux = 1,
},{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = 0,
Expand Down Expand Up @@ -165,11 +165,11 @@ struct em28xx_board em28xx_boards[] = {
.input = {{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = 2,
.amux = 0,
.amux = 1,
},{
.type = EM28XX_VMUX_TELEVISION,
.vmux = 0,
.amux = 1,
.amux = 0,
},{
.type = EM28XX_VMUX_SVIDEO,
.vmux = 9,
Expand All @@ -185,12 +185,12 @@ struct em28xx_board em28xx_boards[] = {
.tuner_type = TUNER_XCEIVE_XC3028,
.decoder = EM28XX_TVP5150,
.input = {{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = 2,
.amux = 0,
},{
.type = EM28XX_VMUX_TELEVISION,
.vmux = 0,
.amux = 0,
},{
.type = EM28XX_VMUX_COMPOSITE1,
.vmux = 2,
.amux = 1,
},{
.type = EM28XX_VMUX_SVIDEO,
Expand Down
14 changes: 7 additions & 7 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ static int em28xx_config(struct em28xx *dev)

/* enable vbi capturing */

em28xx_write_regs_req(dev,0x00,0x0e,"\xC0",1);
em28xx_write_regs_req(dev,0x00,0x0f,"\x80",1);
/* em28xx_write_regs_req(dev,0x00,0x0e,"\xC0",1); audio register */
/* em28xx_write_regs_req(dev,0x00,0x0f,"\x80",1); clk register */
em28xx_write_regs_req(dev,0x00,0x11,"\x51",1);

em28xx_audio_usb_mute(dev, 1);
Expand Down Expand Up @@ -313,11 +313,11 @@ static void video_mux(struct em28xx *dev, int index)
em28xx_audio_source(dev, ainput);
} else {
switch (dev->ctl_ainput) {
case 0:
ainput = EM28XX_AUDIO_SRC_TUNER;
break;
default:
ainput = EM28XX_AUDIO_SRC_LINE;
case 0:
ainput = EM28XX_AUDIO_SRC_TUNER;
break;
default:
ainput = EM28XX_AUDIO_SRC_LINE;
}
em28xx_audio_source(dev, ainput);
}
Expand Down

0 comments on commit b734948

Please sign in to comment.