lkml.org 
[lkml]   [1998]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sound recording broken in 2.1.120+
On Sat, 12 Sep 1998, Alan Cox wrote:

> > The sound driver (oss/ad1848) oopses on close if you record sound. Easy
> > to reproduce: just "cat /dev/dsp > /dev/null", hit ^C ==> Oops.
>
> Back this out and try again
>
> diff -u --recursive --new-file v2.1.119/linux/drivers/sound/dmabuf.c linux/driv
> --- v2.1.119/linux/drivers/sound/dmabuf.c Thu Jul 16 18:09:26 1998
> +++ linux/drivers/sound/dmabuf.c Wed Sep 2 13:23:22 1998
> @@ -206,6 +206,7 @@
> dmap->dma_mode = DMODE_NONE;
> dmap->flags &= ~DMA_BUSY;
> disable_dma(dmap->dma);
> + sound_free_dmap(dmap);
> }

No oops any more.

Gerd


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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:1.450 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site