From: Takashi Iwai Date: Fri, 4 Dec 2009 15:22:32 +0000 (+0100) Subject: Merge branch 'topic/core-change' into for-linus X-Git-Tag: firefly_0821_release~9833^2~3657^2~17 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=79598324838a25cc378ecbb8c29dd1e3d3951d35;p=firefly-linux-kernel-4.4.55.git Merge branch 'topic/core-change' into for-linus --- 79598324838a25cc378ecbb8c29dd1e3d3951d35 diff --cc sound/arm/aaci.c index 6c160a038b23,e59372887f36..1534f3d88bce --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c @@@ -504,13 -503,9 +503,13 @@@ static int aaci_pcm_hw_params(struct sn int err; aaci_pcm_hw_free(substream); + if (aacirun->pcm_open) { + snd_ac97_pcm_close(aacirun->pcm); + aacirun->pcm_open = 0; + } - err = devdma_hw_alloc(NULL, substream, - params_buffer_bytes(params)); + err = snd_pcm_lib_malloc_pages(substream, + params_buffer_bytes(params)); if (err < 0) goto out;