ASoC: Intel: Skylake: Fix cleanup of dma buffer
authorJeeja KP <jeeja.kp@intel.com>
Fri, 13 Nov 2015 13:52:08 +0000 (19:22 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2015 18:46:36 +0000 (18:46 +0000)
commitae395937ab95b8c62806af6a17a6cdfe6086401e
tree6e61f77c63ae2311953475fbe1b3c3c5553f41e6
parente03fc82d7c474b2f9bcdb0f6a5ef26c6c3ab24ee
ASoC: Intel: Skylake: Fix cleanup of dma buffer

During firmware download, dma buffers are allocated in prepare
and never freed on clean up. This patch frees the allocated dma
buffer in cldma controller clean up.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-sst-cldma.c
sound/soc/intel/skylake/skl-sst.c