[PATCH] logic error in gus_wave driver

From: davej
Date: Mon Aug 11 2003 - 12:30:22 EST


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/sound/oss/gus_wave.c linux-2.5/sound/oss/gus_wave.c
--- bk-linus/sound/oss/gus_wave.c 2003-05-26 12:57:43.000000000 +0100
+++ linux-2.5/sound/oss/gus_wave.c 2003-07-13 13:33:57.000000000 +0100
@@ -3034,7 +3034,7 @@ void __init gus_wave_init(struct address

gus_initialize();

- if ((gus_mem_size > 0) & !gus_no_wave_dma)
+ if ((gus_mem_size > 0) && !gus_no_wave_dma)
{
hw_config->slots[4] = -1;
if ((gus_devnum = sound_install_audiodrv(AUDIO_DRIVER_VERSION,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/