patch-2.2.18 linux/drivers/sound/pas2_mixer.c

Next file: linux/drivers/sound/softoss.c
Previous file: linux/drivers/sound/msnd_pinnacle.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/sound/pas2_mixer.c linux/drivers/sound/pas2_mixer.c
@@ -71,7 +71,7 @@
 
 	if (pas_model == 4)
 	  {
-		  outw(data | (data << 8), (ioaddr ^ translate_code) - 1);
+		  outw(data | (data << 8), (ioaddr + translate_code) - 1);
 		  outb((0x80), 0);
 	} else
 		pas_write(data, ioaddr);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)