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

Adrian Cox (adrian@humboldt.co.uk)
Mon, 16 Jul 2001 10:22:34 +0100


This is a multi-part message in MIME format.
--------------060209060607060904080903
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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/

--------------060209060607060904080903 Content-Type: text/plain; name="viamidi.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="viamidi.patch"

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

--------------060209060607060904080903--

- 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/