diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2020-07-17 11:22:42 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-17 15:58:30 +0300 |
commit | bd054ece7d9cdd88e900df6625e951a01d9f655e (patch) | |
tree | 6d92622aa03d461f958a8ad7d6e5f2356917b4e8 /sound/soc/intel/boards/bdw-rt5677.c | |
parent | fe0a53044b4bce947045eadd7fa1adbc4685afab (diff) | |
download | linux-bd054ece7d9cdd88e900df6625e951a01d9f655e.tar.xz |
ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback
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 <jingxiangfeng@huawei.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200717082242.130627-1-jingxiangfeng@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/bdw-rt5677.c')
0 files changed, 0 insertions, 0 deletions