This is a stand-alone set of patches to improve error handling and provide better information to the platform integrator.
As suggested by Vinod, these patches are shared first - with the risk that they are separated from the actual steps where they are needed.
For reference, the complete set of 100+ patches required for SoundWire on Intel platforms is available here:
https://github.com/thesofproject/linux/pull/1692
Pierre-Louis Bossart (4): soundwire: cadence_master: filter out bad interrupts soundwire: cadence_master: log more useful information during timeouts soundwire: cadence_master: handle multiple status reports per Slave soundwire: bus: check first if Slaves become UNATTACHED
Rander Wang (2): soundwire: cadence_master: clear interrupt status before enabling interrupt soundwire: cadence_master: remove config update for interrupt setting
drivers/soundwire/bus.c | 18 +++++++++ drivers/soundwire/cadence_master.c | 60 +++++++++++++++++++++++++----- 2 files changed, 68 insertions(+), 10 deletions(-)
base-commit: b637124800a157c4df3699d1137d8533394f7678