Bug 215109 - snd_soc_skl no longer works with kblr55145663max
Summary: snd_soc_skl no longer works with kblr55145663max
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-22 20:42 UTC by Jason M.
Modified: 2022-02-13 22:34 UTC (History)
4 users (show)

See Also:
Kernel Version: 5.15.4
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg with snd_soc_skl errors (101.54 KB, text/plain)
2021-11-22 20:48 UTC, Jason M.
Details
dmesg from working audio (120.07 KB, text/plain)
2021-12-08 12:13 UTC, Jason M.
Details
NHLT dump (904 bytes, application/octet-stream)
2021-12-08 12:13 UTC, Jason M.
Details
dmesg from 5.16.0.rc1 fork (215.03 KB, text/plain)
2021-12-09 16:51 UTC, Jason M.
Details

Description Jason M. 2021-11-22 20:42:13 UTC
I see repeated errors in dmesg like:

[   19.485990] snd_soc_skl 0000:00:1f.3: Blob NULL for id:1 type:3 dirn:0 ch:2, freq:48000, fmt:24
[   19.485997] snd_soc_skl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on SSP1 Pin: -22
[   19.486041]  SSP1-Codec: ASoC: soc_pcm_hw_params() failed (-22)


This worked using 5.14 up to and including 5.14.20 (I have not tried 5.14.21).

I started using the 5.15 line with 5.15.3 noticed these errors last week. Today I tried 5.15.4 where they persist. 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/soc/intel/skylake/skl-topology.c?h=v5.15.4&id=87b265260046d4e0ed3f150dac2184b9dbd4bf7c
Comment 1 Jason M. 2021-11-22 20:47:05 UTC
Apologies I submitted the bug before finishing my comment.

I built 5.15.4 with this commit reversed and audio now works. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/sound/soc/intel/skylake/skl-topology.c?h=v5.15.4&id=87b265260046d4e0ed3f150dac2184b9dbd4bf7c
Comment 2 Jason M. 2021-11-22 20:48:48 UTC
Created attachment 299673 [details]
dmesg with snd_soc_skl errors

dmesg showing failures I see using 5.15.3 and 5.15.4.
Comment 3 Amadeusz Sławiński 2021-12-08 12:00:33 UTC
Can you attach dmesg from working case?

And also provide dump of NHLT file (cat /sys/firmware/acpi/tables/NHLT > NHLT.bin)?

Additionally could you try with kernel build from: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/log/?h=for-next
there were some additional changes made to NHLT detection and maybe they fixed this issue as side effect.
Comment 4 Jason M. 2021-12-08 12:13:12 UTC
Created attachment 299931 [details]
dmesg from working audio
Comment 5 Jason M. 2021-12-08 12:13:43 UTC
Created attachment 299933 [details]
NHLT dump
Comment 6 Jason M. 2021-12-08 12:15:44 UTC
The files you requested are above. I will work on a build tonight with the source you linked and report back. Thank you!
Comment 7 Jason M. 2021-12-09 16:51:33 UTC
Created attachment 299971 [details]
dmesg from 5.16.0.rc1 fork

Built from https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/log/?h=for-next 6fadb494a638d8b8a55864ecc6ac58194f03f327
Comment 8 Jason M. 2021-12-09 16:52:07 UTC
Audio did not work building from the fork above. I attached desg output.
Comment 9 Jason M. 2022-02-13 22:34:47 UTC
I tried 5.17.0 RC3 today and audio is working again.

Note You need to log in before you can comment on or make changes to this bug.