alistair23-linux/sound/pci/ctxfi
Takashi Iwai a5990dc5b9 ALSA: ctxfi - Clear PCM resources at hw_params and hw_free
Currently the PCM resources are allocated only once and ever in prepare
callback, assuming that the PCM parameters are never changed.  But it's
not true.

This patch adds the call of atc->pcm_release_resources() at hw_params
and hw_free callbacks to assure that the PCM setup is done correctly
for each h/w parameter changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-09 08:19:02 +02:00
..
ct20k1reg.h ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ct20k2reg.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctamixer.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctamixer.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctatc.c ALSA: ctxfi - Clear PCM resources at hw_params and hw_free 2009-06-09 08:19:02 +02:00
ctatc.h ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
ctdaio.c ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
ctdaio.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cthardware.c ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
cthardware.h ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00
cthw20k1.c ALSA: ctxfi - Fix wrong model id for UAA 2009-06-08 18:30:37 +02:00
cthw20k1.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cthw20k2.c ALSA: ctxfi - Fix / clean up hw20k2 chip code 2009-06-08 15:31:22 +02:00
cthw20k2.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctimap.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctimap.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctmixer.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctmixer.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctpcm.c ALSA: ctxfi - Clear PCM resources at hw_params and hw_free 2009-06-09 08:19:02 +02:00
ctpcm.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctresource.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctresource.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
ctsrc.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctsrc.h ALSA: SB X-Fi driver merge 2009-05-14 08:24:10 +02:00
cttimer.c ALSA: ctxfi - Add use_system_timer module option 2009-06-08 21:32:26 +02:00
cttimer.h ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
ctvmem.c ALSA: ctxfi - Remove useless initializations and cast 2009-06-08 14:57:57 +02:00
ctvmem.h ALSA: ctxfi - Support SG-buffers 2009-06-02 15:54:47 +02:00
Makefile ALSA: ctxfi - Use native timer interrupt on emu20k1 2009-06-05 16:44:13 +02:00
xfi.c ALSA: ctxfi - Clean up probe routines 2009-06-08 18:10:32 +02:00