path: root/include
diff options
authorRyder Lee <ryder.lee@mediatek.com>2018-01-22 19:33:05 +0800
committerMark Brown <broonie@kernel.org>2018-01-22 12:18:36 +0000
commitdc2a17f4f074c434757e2cef5026d4747fe22955 (patch)
tree738c6a27db2ebe5030b3a791248fb11597ef77ee /include
parent11aa2d9613c9523f8f78863bdfc7d79b37afcbbe (diff)
ASoC: mediatek: fix double free in mt2701_afe_pcm_dev_probe()
The commit dfa3cbb8(ASoC: mediatek: modify MT2701 AFE driver to adapt mfd device) leads to the following static checker warning: sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:1535 mt2701_afe_pcm_dev_probe() error: double free of 'component' This patch fixes that and adds a helper mt2701_afe_add_component() to setup component. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions

Privacy Policy