Intel CNL: audio device disappear during suspend then resume

Bug #2056125 reported by koba
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firmware-sof (Ubuntu)
New
Undecided
Unassigned

Bug Description

[Description]
On CNL platform, after suspend&resume, the audio device is disappleared.
$sudo rtcwake -m mem -s 5
or $systemctl suspend

it happens with the latest 6.5.0-lowtency and doesn't be observed with 6.2.0-1017-lowlatency.

get some errors in dmesg
~~~
1719 [ 61.041002] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
1720 [ 61.041009] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
1721 [ 61.041011] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
1722 [ 61.045196] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
1723 [ 61.045205] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
1724 [ 61.045208] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
1725 [ 61.049050] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
1726 [ 61.049066] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
1727 [ 61.049068] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
1728 [ 61.052840] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
1729 [ 61.052848] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
1730 [ 61.052850] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
1731 [ 61.056868] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
1732 [ 61.056876] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
1733 [ 61.056878] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
~~~

the culprit is 82b18242ae68) ASoC: SOF: pcm: do not free widgets during suspend trigger.
it landed since v6.3.

the version of sof-bin is
~~~
$ sudo apt policy firmware-sof-signed
firmware-sof-signed:
  Installed: 2.0-1ubuntu4.5
  Candidate: 2.0-1ubuntu4.5
~~~

after upgrade the sof-bin to upstream-sof-bin-2023.12,
the issue is gone.

Revision history for this message
koba (kobako) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.