commit | 81a812c98b6eda7e3101305d57354433e3edc541 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon Apr 29 12:37:13 2019 +0000 |
committer | Mark Brown <broonie@kernel.org> | Thu May 02 11:01:53 2019 +0900 |
tree | 1c91b5def39290994505c774227bf1583ca0089f | |
parent | 7c88b92816dfe5eab224b96577b50ac00b4be68a [diff] |
ASoC: sprd: Fix to use list_for_each_entry_safe() when delete items Since we will remove items off the list using list_del() we need to use a safe version of the list_for_each_entry() macro aptly named list_for_each_entry_safe(). Fixes: d7bff893e04f ("ASoC: sprd: Add Spreadtrum multi-channel data transfer support") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>