diff options
author | Pierre-Louis Bossart <[email protected]> | 2021-03-23 09:37:07 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-03-30 14:36:11 +0530 |
commit | 58ef9356260c291a4321e07ff507f31a1d8212af (patch) | |
tree | 90be9ee88617414a73bee8d844a80a60e17acba2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8f29bb83586ea993e98b258e1fdb657367dd3c25 (diff) |
soundwire: cadence: only prepare attached devices on clock stop
We sometimes see COMMAND_IGNORED responses during the clock stop
sequence. It turns out we already have information if devices are
present on a link, so we should only prepare those when they
are attached.
In addition, even when COMMAND_IGNORED are received, we should still
proceed with the clock stop. The device will not be prepared but
that's not a problem.
The only case where the clock stop will fail is if the Cadence IP
reports an error (including a timeout), or if the devices throw a
COMMAND_FAILED response.
BugLink: https://github.com/thesofproject/linux/issues/2621
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions