diff options
| author | Yorick Rommers <yorick-rommers@hotmail.com> | 2026-09-07 14:12:28 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-08 15:59:06 +0100 |
| commit | 7e125889f1705fc6326679a3db3b4159f7a8c87e (patch) | |
| tree | 0339802be2ddb9f22046a6527f36bdbaecf2f947 /scripts/Makefile.thinlto | |
| parent | 883e78c9e6007c91be96e99a36c35baf41bc8ed5 (diff) | |
| download | linux-7e125889f1705fc6326679a3db3b4159f7a8c87e.tar.gz linux-7e125889f1705fc6326679a3db3b4159f7a8c87e.zip | |
ASoC: amd: acp-da7219-max98357a: don't bind on Raven/Picasso boards
The "AMDI5682" ACPI HID is matched by two AMD ASoC machine drivers:
cz-da7219-max98357a (this driver, Carrizo/Stoney) and
acp3x-alc5682-max98357 (Raven/Picasso). cz-da7219-max98357a is linked
first and probes the platform device first; its DAI links reference the
Stoney ACP, which is absent on Raven/Picasso, so its card can never be
instantiated there.
This was harmless until commit 42d99857d6f0 ("ASoC: core: Move all users
to deferrable card binding"): devm_snd_soc_register_card() now returns 0
for a card left pending instead of propagating -EPROBE_DEFER, so
cz_probe() succeeds and permanently binds AMDI5682. acp3x-alc5682-max98357
never binds and the internal speakers and headphone jack get no card.
Detect Raven/Picasso (and later) by the ACP3.x audio coprocessor's
dedicated PCI function (1022:15e2); Carrizo/Stoney reach the ACP through
the GPU driver and have no such device. Return -ENODEV so the driver core
continues probing AMDI5682 with acp3x-alc5682-max98357.
Fixes: 42d99857d6f0 ("ASoC: core: Move all users to deferrable card binding")
Cc: stable@vger.kernel.org
Signed-off-by: Yorick Rommers <yorick-rommers@hotmail.com>
Tested-by: Yorick Rommers <yorick-rommers@hotmail.com>
Link: https://patch.msgid.link/20260907121228.13754-1-yorick-rommers@hotmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
