patch-2.4.21 linux-2.4.21/drivers/sound/sscape.c

Next file: linux-2.4.21/drivers/sound/trident.c
Previous file: linux-2.4.21/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/sound/sscape.c linux-2.4.21/drivers/sound/sscape.c
@@ -668,7 +668,7 @@
 			break;
 		}
 	}
-	if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff))
+	if (hw_config->irq > 15 || ((regs[4] = irq_bits) == 0xff))
 	{
 		printk(KERN_ERR "Invalid IRQ%d\n", hw_config->irq);
 		return;

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