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
[TGL][SDW] runtime PM always in active on TGL chromebook/SDW mode #2162
Set them
amixer -c0 cset name='Left Spk Switch' off
amixer -c0 cset name='Right Spk Switch' off
Then check the pm runtime status, still in active status.
Observe that master-Controller-1, that connects to max98373 slaves is always active. (Where-as Controller-0 connecting to RT5682 goes to suspend when not in use.)
cat /sys/bus/soundwire/devices/sdw-master-1/sdw:1:19f:8373:0:3/power/runtime_status
active
cat /sys/bus/soundwire/devices/sdw-master-1/sdw:1:19f:8373:0:7/power/runtime_status
active
Activity
YvonneYang2 commentedon Jun 3, 2020
Set them
amixer -c0 cset name='Left Spk Switch' off
amixer -c0 cset name='Right Spk Switch' off
Then check the pm runtime status, still in active status.
naveen-manohar commentedon Jun 11, 2020
Observe that master-Controller-1, that connects to max98373 slaves is always active. (Where-as Controller-0 connecting to RT5682 goes to suspend when not in use.)
cat /sys/bus/soundwire/devices/sdw-master-1/sdw:1:19f:8373:0:3/power/runtime_status
active
cat /sys/bus/soundwire/devices/sdw-master-1/sdw:1:19f:8373:0:7/power/runtime_status
active
RanderWang commentedon Jun 11, 2020
The issue is different with I2S mode. And the patch 8947163 doesn't work because user mode API will enable spk pin after card probe on sdw mode.
RanderWang commentedon Jun 11, 2020
And according to https://github.com/thesofproject/linux/blob/topic/sof-dev/sound/soc/codecs/max98373.c#L886, the codec can not be suspended
RanderWang commentedon Jun 15, 2020
Fixed, I will submit a PR to fix it tomorrow after the last ACK from maximum developer.
YvonneYang2 commentedon Jun 16, 2020
Issue is fixed by #2201 and no side effect found.