lkml.org 
[lkml]   [2001]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.4.6-ac2: "uart401: bad devc"
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/
===== 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;
}
\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.027 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site