From: Martin Langer <martin-langer@gmx.de>
To: alsa-devel@alsa-project.org
Subject: [PATCH] 2/3 miro: MPU-401 error action bugfix
Date: Fri, 24 Jun 2005 01:02:12 +0200 [thread overview]
Message-ID: <20050623230212.GA3294@tuba> (raw)
[-- 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 */
reply other threads:[~2005-06-23 22:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050623230212.GA3294@tuba \
--to=martin-langer@gmx.de \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox