Pārlūkot izejas kodu

[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>
James Courtier-Dutton 20 gadi atpakaļ
vecāks
revīzija
fd9a98ec0a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      sound/pci/emu10k1/emu10k1_main.c

+ 1 - 1
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 */