diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-02-16 15:32:41 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-02-16 16:34:22 +0000 |
commit | 83bfc7e793b555291785136c3ae86abcdc046887 (patch) | |
tree | cab7735d8465ec0ba68b072e82203afd9709f2c6 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | db0b4aedfab396a6fe631f5c3bb34319770f0581 (diff) |
ASoC: SOF: core: unregister clients and machine drivers in .shutdown
On a platform shutdown, the expectation for most drivers is that
userspace tasks will release all resources. When those sequences do
not complete, it can be the case that PCM devices exposed by ALSA
cards are used *after* the DSP shutdown completes, leading to a
platform hang.
When the clients and machine drivers provide an _unregister callback,
let's invoke it in the shutdown sequence.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions