aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2022-06-06 15:37:48 -0500
committerMark Brown <broonie@kernel.org>2022-06-07 20:37:28 +0100
commit768ad6d80db2dbbb1bfbb5e616d701a0b560f12a (patch)
tree6effd55ba38e4051f00948783289b7cfd51c021e /tools/perf/scripts/python
parentASoC: rt711-sdca-sdw: fix calibrate mutex initialization (diff)
downloadlinux-768ad6d80db2dbbb1bfbb5e616d701a0b560f12a.tar.gz
linux-768ad6d80db2dbbb1bfbb5e616d701a0b560f12a.zip
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 <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20220606203752.144159-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions