summaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-04-10 15:43:35 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 09:58:55 +0200
commitfd9a98ec0a7c8ce15928e3454d73533146d9d57c (patch)
treee02241000626bcb85a7dea4fc59ba44d395df68e /sound/pci/emu10k1
parent310bacd29230abf5f2a230159e48e983171e0f26 (diff)
downloadlinux-fd9a98ec0a7c8ce15928e3454d73533146d9d57c.tar.gz
linux-fd9a98ec0a7c8ce15928e3454d73533146d9d57c.tar.bz2
linux-fd9a98ec0a7c8ce15928e3454d73533146d9d57c.zip
[ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers
EMU10K1/EMU10K2 driver when using the p16v HD device. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci/emu10k1')
-rw-r--r--sound/pci/emu10k1/emu10k1_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index c6d53b459254..bf17db1fd243 100644
--- a/sound/pci/emu10k1/emu10k1_main.c
+++ b/sound/pci/emu10k1/emu10k1_main.c
@@ -189,7 +189,7 @@ static int __devinit snd_emu10k1_init(emu10k1_t * emu, int enable_ir)
/* Enabled Phased (8-channel) P16V playback */
outl(0x0201, emu->port + HCFG2);
/* Set playback routing. */
- snd_emu10k1_ptr_write(emu, CAPTURE_P16V_SOURCE, 0, 78e4);
+ snd_emu10k1_ptr20_write(emu, CAPTURE_P16V_SOURCE, 0, 0x78e4);
}
if (emu->audigy && (emu->serial == 0x10011102) ) { /* audigy2 Value */
/* Hacks for Alice3 to work independent of haP16V driver */