Date: Thu, 6 Jul 2006 19:09:27 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Alexey Illarionov <littlesavage@rambler.ru> Cc: freebsd-multimedia@FreeBSD.org, netchild@FreeBSD.org Subject: Re: kern/99205: [snd_solo] FreeBSD 6.1 freezes after playing sound with snd_solo Message-ID: <20060706100927.GC76865@cdnetworks.co.kr> In-Reply-To: <200607060820.k668KKs7067297@freefall.freebsd.org> References: <200607060820.k668KKs7067297@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 06, 2006 at 08:20:20AM +0000, Alexey Illarionov wrote:
> The following reply was made to PR kern/99205; it has been noted by GNATS.
>
> From: Alexey Illarionov <littlesavage@rambler.ru>
> To: bug-followup@FreeBSD.org, georgdorn@gmx.net
> Cc:
> Subject: Re: kern/99205: [snd_solo] FreeBSD 6.1 freezes after playing sound
> with snd_solo
> Date: Thu, 06 Jul 2006 12:17:28 +0400
>
> Yes, I had the same problem. The patch that it seems fix this problem is
> really simple:
>
> --- /usr/src/sys/dev/sound/pci/solo.c.old Thu Jul 6 10:10:37 2006
> +++ /usr/src/sys/dev/sound/pci/solo.c Thu Jul 6 09:52:05 2006
> @@ -313,7 +313,10 @@
> src |= 1;
>
> if (src == 0)
> + {
> + ess_unlock(sc);
> return;
> + }
>
> if (sc->duplex) {
> pirq = (src & sc->pch.hwch)? 1 : 0;
>
Good catch. The patch looks ok except minor style(9) nit.
Alexander, would you fix it?
--
Regards,
Pyun YongHyeon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060706100927.GC76865>
