You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][SDW][CML] clock stop prepare issue - Speaker cannot work after suspend/resume #2606
CMLApplies to Comet Lake platformClock Stop prepare failedSoundWire Clock Stop prepare failedP3Low-impact bugs or featuresSDWApplies to SoundWire bus for codec connectionbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)
Canonical reported an issue that speaker can't work on CML + dual rt1308 laptop.
The issue happens only once so far.
The error kernel log is
rt1308 sdw:1:25d:1308:0: Clock Stop prepare failed for slave: -61
rt1308 sdw:1:25d:1308:0: pre-prepare failed:-61
intel-master sdw-master-1: prepare clock stop failed -61
intel-master sdw-master-1: cannot enable clock stop on suspend
...
rt1308 sdw:1:25d:1308:0: Unable to sync register 0xc030. -22
intel-master sdw-master-1: pm_runtime_get_sync failed in intel_startup, ret -22
intel-master sdw-master-1: ASoC: can't open DAI SDW1 Pin2: -22
SDW1-Playback: ASoC: BE open failed -22
SDW1-speakers: ASoC: failed to start some BEs -22
The issue is that somehow we didn't get ACK from codec and then cause clock stop prepare failed.
The question is that do we have a way to recover from no ack received?
changed the title [-][BUG][SDW][CML] Speaker cannot work after suspend/resume[/-][+][BUG][SDW][CML] clock stop prepare issue - Speaker cannot work after suspend/resume[/+]on Dec 11, 2020
@bardliao@plbossart It seems this issue can be reproduced with SDCA codec ALC1316 on TGL-U laptop device. Please check CI report 1118 on 2020-12-10 (UTC). Failed case: check-suspend-resume-with-playback-25.sh
CMLApplies to Comet Lake platformClock Stop prepare failedSoundWire Clock Stop prepare failedP3Low-impact bugs or featuresSDWApplies to SoundWire bus for codec connectionbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)
Activity
plbossart commentedon Dec 7, 2020
can we have a longer dmesg trace @bardliao ?
What we could do in this case is just to mark the device as not functional, suspend anyways and reset the bus on startup.
But that looks like a corner case for now.
[-][BUG][SDW][CML] Speaker cannot work after suspend/resume[/-][+][BUG][SDW][CML] clock stop prepare issue - Speaker cannot work after suspend/resume[/+]mengdonglin commentedon Dec 14, 2020
@bardliao @plbossart It seems this issue can be reproduced with SDCA codec ALC1316 on TGL-U laptop device. Please check CI report 1118 on 2020-12-10 (UTC). Failed case: check-suspend-resume-with-playback-25.sh
dmesg
mengdonglin commentedon Dec 14, 2020
@plbossart @bardliao Can we take this issue as a duplicate of #2621 ?
51 remaining items
soundwire: intel: exit clock stop mode on system suspend
soundwire: intel: exit clock stop mode on system suspend
soundwire: intel: exit clock stop mode on system suspend
soundwire: intel: conditionally exit clock stop mode on system suspend
soundwire: intel: exit clock stop mode on system suspend
soundwire: intel: conditionally exit clock stop mode on system suspend
soundwire: intel: conditionally exit clock stop mode on system suspend
soundwire: intel: conditionally exit clock stop mode on system suspend
soundwire: intel: conditionally exit clock stop mode on system suspend
soundwire: intel: conditionally exit clock stop mode on system suspend
UPSTREAM: soundwire: intel: conditionally exit clock stop mode on sys…
UPSTREAM: soundwire: intel: conditionally exit clock stop mode on sys…
UPSTREAM: soundwire: intel: conditionally exit clock stop mode on sys…
UPSTREAM: soundwire: intel: conditionally exit clock stop mode on sys…