public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Cox <adrian@humboldt.co.uk>
To: Jan Niehusmann <jan@gondor.com>
Cc: linux-kernel@vger.kernel.org, Jeff Garzik <jgarzik@mandrakesoft.com>
Subject: Re: 2.4.6-ac2: "uart401: bad devc"
Date: Mon, 16 Jul 2001 10:22:34 +0100	[thread overview]
Message-ID: <3B52B25A.5050102@humboldt.co.uk> (raw)
In-Reply-To: <20010715195903.A5982@gondor.com>

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

Jan Niehusmann wrote:

> Linux 2.4.6-ac2 with CONFIG_MIDI_VIA82CXXX set does cause a 
> kernel hang on my setup. On the first sound I play (ie cat >/dev/dsp)
> an endless stream of "uart401: bad devc" messages shows up on the 
> console - everything else hangs.


The attached patch should fix the problem.

-- 
Adrian Cox   http://www.humboldt.co.uk/

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

===== drivers/sound/via82cxxx_audio.c 1.12 vs edited =====
--- 1.12/drivers/sound/via82cxxx_audio.c	Thu Jun 28 16:34:45 2001
+++ edited/drivers/sound/via82cxxx_audio.c	Mon Jul 16 10:19:52 2001
@@ -1641,7 +1641,8 @@
 	if (!(status32 & VIA_INTR_MASK))
         {
 #ifdef CONFIG_MIDI_VIA82CXXX
-                uart401intr(irq, card->midi_devc, regs);
+	    	 if (card->midi_devc)
+                    	uart401intr(irq, card->midi_devc, regs);
 #endif
 		return;
     	}	    

      reply	other threads:[~2001-07-16  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-15 17:59 2.4.6-ac2: "uart401: bad devc" Jan Niehusmann
2001-07-16  9:22 ` Adrian Cox [this message]

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=3B52B25A.5050102@humboldt.co.uk \
    --to=adrian@humboldt.co.uk \
    --cc=jan@gondor.com \
    --cc=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.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