alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2/3 miro: MPU-401 error action bugfix
@ 2005-06-23 23:02 Martin Langer
  0 siblings, 0 replies; only message in thread
From: Martin Langer @ 2005-06-23 23:02 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

An if statement which executes snd_mpu401_uart_new() doesn't run the 
correct action if it fails. A line with an error message was missing.
The patch completes the if statement by adding a message.

Signed-off-by: Martin Langer <martin-langer@gmx.de>

[-- Attachment #2: miro_mpu401.patch --]
[-- Type: text/plain, Size: 378 bytes --]

--- isa/opti9xx/miro.c.1_miro_pcm20revE	Thu Jun 23 21:56:34 2005
+++ isa/opti9xx/miro.c	Fri Jun 24 00:16:27 2005
@@ -1330,6 +1330,7 @@
 		if ((error = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401,
 				miro->mpu_port, 0, miro->mpu_irq, SA_INTERRUPT,
 				&rmidi)))
+			snd_printk("no MPU-401 device at 0x%lx?\n", miro->mpu_port);
 
 	/* the aci mixer is muted after reset */
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-23 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-23 23:02 [PATCH] 2/3 miro: MPU-401 error action bugfix Martin Langer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).