Re: [PATCH v2] ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback

2020-07-17 Thread Mark Brown
On Fri, 17 Jul 2020 16:22:42 +0800, Jing Xiangfeng wrote: > axg_card_add_tdm_loopback() misses to call kfree() in an error path. We > can use devm_kasprintf() to fix the issue, also improve maintainability. > So use it instead. Applied to

Re: [PATCH v2] ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback

2020-07-17 Thread Jerome Brunet
On Fri 17 Jul 2020 at 10:22, Jing Xiangfeng wrote: > axg_card_add_tdm_loopback() misses to call kfree() in an error path. We > can use devm_kasprintf() to fix the issue, also improve maintainability. > So use it instead. > > Fixes: c84836d7f650 ("ASoC: meson: axg-card: use modern dai_link

[PATCH v2] ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback

2020-07-17 Thread Jing Xiangfeng
axg_card_add_tdm_loopback() misses to call kfree() in an error path. We can use devm_kasprintf() to fix the issue, also improve maintainability. So use it instead. Fixes: c84836d7f650 ("ASoC: meson: axg-card: use modern dai_link style") Signed-off-by: Jing Xiangfeng ---