summaryrefslogtreecommitdiff
path: root/sound/ac97
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2024-02-09 14:18:40 +0300
committerMark Brown <broonie@kernel.org>2024-02-13 22:37:25 +0300
commit0db0c1770834f39e11a2902e20e1f11a482f4465 (patch)
treee9d0d0e1462847e26b8964694ae742e5b6c6a65b /sound/ac97
parent9dbe95e28ff1473837a2838d621c75d365a13822 (diff)
downloadlinux-0db0c1770834f39e11a2902e20e1f11a482f4465.tar.xz
ASoC: cs35l56: Workaround for ACPI with broken spk-id-gpios property
The ACPI in some SoundWire laptops has a spk-id-gpios property but it points to the wrong Device node. This patch adds a workaround to try to get the GPIO directly from the correct Device node. If the attempt to get the GPIOs from the property fails, the workaround looks for the SDCA node "AF01", which is where the GpioIo resource is defined. If this exists, a spk-id-gpios mapping is added to that node and then the GPIO is got from that node using the property. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://msgid.link/r/20240209111840.1543630-1-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ac97')
0 files changed, 0 insertions, 0 deletions