SoundWire: programming flow corrections
The hardware documentation lists a number of steps that aren't followed by the Linux driver, such as a soft reset and disabling wakeups on startup. The interrupt enable is also not symmetrical with the disable.
It's not clear if these patches fix anything, but aligning with documented programming flows is in general never a bad idea.
https://sof-ci.01.org/linuxpr/PR5065/build3687/devicetest/index.html?model=LNLM_SDW_AIOC&testcase=multiple-pipeline-playback is broken on ba-lnlm-rvp-sdw-01. I can't reproduce the problem with the same command line.
TPLG=/lib/firmware/intel/sof-ipc4-tplg/sof-lnl-rt711-l0-rt1316-l23-rt714-l1.tplg MODEL=LNLM_SDW_AIOC SOF_TEST_INTERVAL=5 ~/sof-test/test-case/multiple-pipeline.sh -f p 2; done
works fine for me...
SOFCI TEST
SOFCI TEST
SOFCI TEST
SOFCI TEST
@bardliao can you review?
updated version without controversial patches.