dc2a17f4f0
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> |
||
---|---|---|
.. | ||
Makefile | ||
mt2701-afe-clock-ctrl.c | ||
mt2701-afe-clock-ctrl.h | ||
mt2701-afe-common.h | ||
mt2701-afe-pcm.c | ||
mt2701-cs42448.c | ||
mt2701-reg.h | ||
mt2701-wm8960.c |