Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130762
b: refs/heads/master
c: 7e4b15e
h: refs/heads/master
v: v3
  • Loading branch information
Robert Krakora authored and Mauro Carvalho Chehab committed Jan 29, 2009
1 parent cf2a1cf commit c0607ac
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 53d12e5a56934c31ca59f3b6f127e5a68e645fd2
refs/heads/master: 7e4b15e4201a101840c226dafe0d3df7ee652bf6
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/em28xx/em28xx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ int em28xx_audio_analog_set(struct em28xx *dev)
if (dev->audio_mode.ac97 != EM28XX_NO_AC97) {
int vol;

em28xx_write_ac97(dev, AC97_POWER_DOWN_CTRL, 0x4200);
em28xx_write_ac97(dev, AC97_EXT_AUD_CTRL, 0x0031);
em28xx_write_ac97(dev, AC97_PCM_IN_SRATE, 0xbb80);

/* LSB: left channel - both channels with the same level */
vol = (0x1f - dev->volume) | ((0x1f - dev->volume) << 8);

Expand Down

0 comments on commit c0607ac

Please sign in to comment.