ALSA: ALSA: ctxfi - Release PCM resources at each prepare call
authorTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2009 12:12:17 +0000 (14:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Jun 2009 13:54:46 +0000 (15:54 +0200)
The prepare callback can be called multiple times, thus it needs to
release and acquire the resource again by itself at the second or later
call.

Simply add pcm_release_resources() at the beginning of each prepare
callback in ctatc.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found