kern/99205: [snd_solo] FreeBSD 6.1 freezes after playing sound
with snd_solo
Pyun YongHyeon
pyunyh at gmail.com
Thu Jul 6 10:05:52 UTC 2006
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 at rambler.ru>
> To: bug-followup at FreeBSD.org, georgdorn at 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
More information about the freebsd-multimedia
mailing list