]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-linux/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:03:59 +0000 (09:03 -0700)
commit24be9aa61fa39fb973d5f7079a382524e459972c
tree902fc64e88f67ebfab3797e95d5b91e2f82d77ff
parentaf7b15c9d60584ad34b2ac1641953229ac6d1ba8
ASoC: pcm: fix dpcm_path_put in dpcm runtime update

commit 7ed9de76ff342cbd717a9cf897044b99272cb8f8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-pcm.c