Date: Fri, 14 Sep 2001 13:26:04 -0700 (PDT) From: George C A Reid <greid@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm dsp.c sndstat.c sound.c sound.h Message-ID: <200109142026.f8EKQ4h60592@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
greid 2001/09/14 13:26:03 PDT
Modified files:
sys/dev/sound/pcm dsp.c sndstat.c sound.c sound.h
Log:
- Correctly increment the channel refcount in dsp_open() such that it is
no longer possible to unload the driver module while sound is playing
(which resulted in a panic).
- Fix a similar problem with the sndstat device that I found while looking
at the above.
- Append a newline character to error messages in pcm_unregister()
Reviewed by: cg
MFC after: 10 days
Revision Changes Path
1.50 +7 -7 src/sys/dev/sound/pcm/dsp.c
1.7 +7 -1 src/sys/dev/sound/pcm/sndstat.c
1.65 +9 -4 src/sys/dev/sound/pcm/sound.c
1.43 +2 -1 src/sys/dev/sound/pcm/sound.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109142026.f8EKQ4h60592>
