diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-06-06 15:37:48 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-07 20:37:28 +0100 |
commit | 768ad6d80db2dbbb1bfbb5e616d701a0b560f12a (patch) | |
tree | 6effd55ba38e4051f00948783289b7cfd51c021e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 716c2e7e1608a89423ec84398b99ff2fa855d161 (diff) |
ASoC: Intel: sof_sdw: handle errors on card registration
If the card registration fails, typically because of deferred probes,
the device properties added for headset codecs are not removed, which
leads to kernel oopses in driver bind/unbind tests.
We already clean-up the device properties when the card is removed,
this code can be moved as a helper and called upon card registration
errors.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions