patch-1.3.69 linux/drivers/sound/mpu401.c

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

diff -u --recursive --new-file v1.3.68/linux/drivers/sound/mpu401.c linux/drivers/sound/mpu401.c
@@ -1089,7 +1089,10 @@
     {
       /* Verify the hardware again */
       if (!reset_mpu401 (devc))
-	return mem_start;
+	{
+	  printk ("MPU401: Device didn't respond\n");
+	  return mem_start;
+	}
 
       if (!devc->shared_irq)
 	if (snd_set_irq_handler (devc->irq, mpuintr, "mpu401", devc->osp) < 0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this