ALSA: hda: ASUS UM5302LA: Added quirks for cs35L41/10431A83 on i2c bus
authorVitalii Torshyn <vitaly.torshyn@gmail.com>
Wed, 8 Nov 2023 23:13:54 +0000 (01:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Dec 2023 06:33:09 +0000 (07:33 +0100)
commit97189072f122f006f4bcd80a0b920053922e073f
tree029219c034dc7a73e7878710009373bd68a9f7c1
parent4875ef3e606bf66d1eba1509f7df08b87dda6843
ALSA: hda: ASUS UM5302LA: Added quirks for cs35L41/10431A83 on i2c bus

[ Upstream commit 6ae90e906aed727759b88eb2b000fcdc8fcd94a3 ]

Proposed patch fixes initialization of CSC3551 on the UM5302LA laptop.
Patching DSDT table is not required since ASUS did added _DSD entry.
Nothing new introduced but reused work started by Stefan B.

Currently there is no official firmware available for 10431A83 on
cirrus git unfortunately.
For testing used 104317f3 (which is also seems on i2c bus):

$ cd /lib/firmware/cirrus/ && \
for fw in $(find ./ -name '*104317f3*'); do newfw=$(echo $fw | sed 's/104317f3/10431a83/g'); echo echo "$fw -> $newfw"; ln -s $f $newfw; done

With the patch applied to 6.6.0 and obviously symlinks to 104317F3 FW,
speakers works and to my susrprise they sound quite good and loud
without distortion.

Probably confirmation from cirrus team is needed on firmware.

Signed-off-by: Vitalii Torshyn <vitaly.torshyn@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218119
Link: https://lore.kernel.org/r/CAHiQ-bCMPpCJ8eOYAaVVoqGkFixS1qTgSS4xfbZvL4oZV9LYew@mail.gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Stable-dep-of: 61cbc08fdb04 ("ALSA: hda/realtek: Add quirks for ASUS 2024 Zenbooks")
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_realtek.c