ALSA: hda: cs35l41: Use reset label to get GPIO for HP Zbook Fury 17 G9
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 26 Oct 2023 15:05:51 +0000 (16:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Oct 2023 15:55:17 +0000 (17:55 +0200)
commitf01b371b0794f43586d4f0b7dd0d9226c25553e5
tree497ec6a1565db93a3e67e547b547fbf3dfbd0e2a
parent970171a9050e554168751494f88aa90692148f2d
ALSA: hda: cs35l41: Use reset label to get GPIO for HP Zbook Fury 17 G9

This laptop has an incorrect setting in its _DSD for boost type, but
the rest of the _DSD is correct, and we can still use the reset label
to obtain the reset gpio.

Also fix channel map so that amp 0 is right, and amp 1 is left.

Fixes: 581523ee3652 ("ALSA: hda: cs35l41: Override the _DSD for HP Zbook Fury 17 G9 to correct boost type")
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231026150558.2105827-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda_property.c