forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
HDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionLNLApplies to Lunar Lake platformApplies to Lunar Lake platformMTLApplies to Meteor Lake platform.Applies to Meteor Lake platform.P1Blocker bugs or important featuresBlocker bugs or important featuresTGLApplies to Tiger Lake platformApplies to Tiger Lake platformbugSomething isn't workingSomething isn't working
Description
Describe the bug
Intermittently sounds becomes distorted after snd_pcm_drain / snd_pcm_prepare ALSA call. Does not happen if the device is reopened after snd_pcm_drain with snd_pcm_close / snd_pcm_open.
To Reproduce
Please find a sample code to reproduce the bug: https://bugzilla.kernel.org/show_bug.cgi?id=219260
Reproducible on ThinkBook 13x Gen4 hardware.
Reproduction Rate
Roughly 2/10 times with the test code attached.
Expected behavior
Device should not need to re-open before the playback.
Impact
Affects sound playback quite significantly, making devices unusable without external audio device.
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: 6.12.0-0.rc0.20240918gt4a39ac5b.306.vanilla.fc40.x86_64, I assume 20240918gt4a39ac5b is the
- SOF: v2024.06
- Name of the topology file
- Topology: sof-hda-generic-4ch.tplg
- Name of the platform(s) on which the bug is observed.
- Platform: Intel64
ftrace file with snd* filter of the sequence of kernel calls: trace.txt
Metadata
Metadata
Labels
HDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionLNLApplies to Lunar Lake platformApplies to Lunar Lake platformMTLApplies to Meteor Lake platform.Applies to Meteor Lake platform.P1Blocker bugs or important featuresBlocker bugs or important featuresTGLApplies to Tiger Lake platformApplies to Tiger Lake platformbugSomething isn't workingSomething isn't working