ASoC: pcm: fix dpcm_path_put in dpcm runtime update
authorQiao Zhou <zhouqiao@marvell.com>
Wed, 4 Jun 2014 11:42:06 +0000 (19:42 +0800)
committerMark Brown <broonie@linaro.org>
Sat, 21 Jun 2014 10:29:42 +0000 (11:29 +0100)
commit7ed9de76ff342cbd717a9cf897044b99272cb8f8
tree330b0f15a6b6cc34a6bfe077b0890a6ef2d74096
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: pcm: fix dpcm_path_put in dpcm runtime update

we need to release dapm widget list after dpcm_path_get in
soc_dpcm_runtime_update. otherwise, there will be potential memory
leak. add dpcm_path_put to fix it.

Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/soc-pcm.c