[ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers
authorJames Courtier-Dutton <James@superbug.co.uk>
Sun, 10 Apr 2005 13:43:35 +0000 (15:43 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 07:58:55 +0000 (09:58 +0200)
EMU10K1/EMU10K2 driver
when using the p16v HD device.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
sound/pci/emu10k1/emu10k1_main.c

index c6d53b459254b130f809baede9ec228a4712c686..bf17db1fd24306743684a2d722c903c851111933 100644 (file)
@@ -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 */