linux/sound/soc/amd
Cristian Ciocaltea a12d8891ff ASoC: amd: vangogh: Drop conflicting ACPI-based probing
[ Upstream commit ddd1ee12a8 ]

The Vangogh machine driver variant based on the MAX98388 amplifier, as
found on Valve's Steam Deck OLED, relies on probing via an ACPI match
table.  This worked fine until commit 197b1f7f0d ("ASoC: amd: Add new
dmi entries to config entry") enabled SOF support for the target machine
(i.e. Galileo product), causing the sound card to enter the deferred
probe state indefinitely:

$ cat /sys/kernel/debug/devices_deferred
AMDI8821:00	acp5x_mach: Register card (acp5x-max98388) failed

The issue is related to commit e89f45edb7 ("ASoC: amd: vangogh: Add
check for acp config flags in vangogh platform"), which tries to
mitigate potential conflicts between SOF and generic ACP Vangogh
drivers, due to sharing the PCI device IDs.

However, the solution is effective only if the machine driver is
directly probed by pci-acp5x through platform_device_register_full().

Hence, remove the conflicting ACPI based probing and rely exclusively on
DMI quirks for sound card setup.

Fixes: dba22efd0d ("ASoC: amd: vangogh: Add support for NAU8821/MAX98388 variant")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://msgid.link/r/20231209203229.878730-2-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-01-25 15:45:06 -08:00
..
acp ASoC: amd: acp: fix for i2s mode register field update 2023-10-31 14:26:11 +00:00
include ASoC: AMD : add ACP 2.2 register headers 2016-01-10 12:44:10 +00:00
ps ASoC: amd: ps: enable wake capability for acp pci driver 2023-10-17 12:59:17 +01:00
raven ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
renoir ASoC: amd: update pm_runtime enable sequence 2023-06-23 11:07:39 +01:00
rpl ASoC: amd: enable RPL Platform acp drivers build 2022-07-21 23:25:19 +01:00
vangogh ASoC: amd: vangogh: Drop conflicting ACPI-based probing 2024-01-25 15:45:06 -08:00
yc ASoC: amd: yc: Fix non-functional mic on ASUS E1504FA 2023-12-01 14:12:59 +00:00
acp-config.c ASoC: amd: acp: Add support for a new Huawei Matebook laptop 2023-12-04 13:00:12 +00:00
acp-da7219-max98357a.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-es8336.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-pcm-dma.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-rt5645.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp.h ASoC: amd: add I2S MICSP instance support 2022-07-05 13:00:44 +01:00
acp3x-rt5682-max9836.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
Kconfig ASoC: amd: vangogh: Add support for NAU8821/MAX98388 variant 2023-07-09 22:47:57 +01:00
mach-config.h ASoC: amd: acp: add code for scanning acp pdm controller 2023-10-25 17:21:48 +01:00
Makefile ASoC: amd: enable Pink Sardine acp6.2 drivers build 2022-08-29 23:14:14 +01:00