commit | a5990dc5b96f537618b0f057c8723a6a0b0cdc74 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jun 09 08:19:02 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Jun 09 08:19:02 2009 +0200 |
tree | d5c7e3283c2827ab0ce00aaf204315a696114edd | |
parent | 5242bc7613311aa1a3d5ed41e9cf81015b65563f [diff] |
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>