Re: 2.4.6-ac2: "uart401: bad devc"

From: Adrian Cox (adrian@humboldt.co.uk)
Date: Mon Jul 16 2001 - 04:22:34 EST


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; }

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:06 EST