diff options
author | Kuninori Morimoto <[email protected]> | 2019-11-13 10:16:48 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-11-15 12:02:39 +0000 |
commit | ce21401c9d30e81824e864dc25824ebeb9690801 (patch) | |
tree | b38f15a1d1c174f491863d74a4e87b6fd836e004 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2cc1afcfc617b33b72e409360ba5dd7c3fc2492d (diff) |
ASoC: soc-core: care card_probed at soc_cleanup_card_resources()
soc_cleanup_card_resources() will call card->remove(), but it should be
called if card->probe() or card->late_probe() are called.
snd_soc_bind_card() might be error before calling
card->probe() / card->late_probe().
In that time, card->remove() will be called.
This patch adds card_probed parameter to judge it.
Fixes: bfce78a559655 ("ASoC: soc-core: tidyup soc_init_dai_link()")
Signed-off-by: Kuninori Morimoto <[email protected]>
Tested-by: Jon Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions