Messages in this thread Patch in this message |  | | Date | Mon, 16 Jul 2001 10:22:34 +0100 | | From | Adrian Cox <> | | Subject | Re: 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; } |  |