]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: memory release for rtd structure
authorMukunda, Vijendar <Vijendar.Mukunda@amd.com>
Tue, 8 May 2018 04:47:49 +0000 (10:17 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 21 May 2018 15:19:04 +0000 (16:19 +0100)
commita47dee81aa6529f25c18a8965ac2a16774bd6f18
tree3daba6df27c56332145e5fa8ebe5c12541ee4da2
parent672fdaadc1c1ad76beea64828395d181f3f83bb3
ASoC: amd: memory release for rtd structure

rtd structure freed early may result in kernel panic in dma close
call back. moved releasing memory for rtd structure to the end of
dma close callback.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-pcm-dma.c