[ALSA] Fix / clean up PCM-OSS setup hooks
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Mar 2006 14:44:52 +0000 (16:44 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 31 Mar 2006 15:58:59 +0000 (17:58 +0200)
commit060d77b9c04acd7aef60790398a53f731db8c8fe
treec774bb62e0b8ee4b210c5ad4c2d706a346a23efc
parent3bf75f9b90c981f18f27a0d35a44f488ab68c8ea
[ALSA] Fix / clean up PCM-OSS setup hooks

- Fix possible race of referring the setup hook from the running PCM
- Fix memory leak in an error path of proc write
- Clean up the setup hook parser

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm_oss.h
sound/core/oss/pcm_oss.c