]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/cs35l56: Workaround bad dev-index on Lenovo Yoga Book 9i GenX
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 14 Jul 2025 11:01:54 +0000 (12:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jul 2025 12:09:51 +0000 (14:09 +0200)
commit40b1c2f9b299295ed0482e1fee6f46521e6e79e5
tree033727df3b9d8e95d42e32a9bacd0fbd945c6450
parent4722727373533b53489b66d3436b50ac156f23bf
ALSA: hda/cs35l56: Workaround bad dev-index on Lenovo Yoga Book 9i GenX

The Lenovo Yoga Book 9i GenX has the wrong values in the cirrus,dev-index
_DSD property. Add a fixup for this model to ignore the property and
hardcode the index from the I2C bus address.

The error in the cirrus,dev-index property would prevent the second amp
instance from probing. The component binding would never see all the
required instances and so there would not be a binding between
patch_realtek.c and the cs35l56 driver.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reported-by: Brian Howard <blhoward2@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220228
Link: https://patch.msgid.link/20250714110154.204740-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l56_hda.c