]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
authorWerner Sembach <wse@tuxedocomputers.com>
Thu, 2 Dec 2021 16:50:10 +0000 (17:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Dec 2021 13:37:37 +0000 (14:37 +0100)
commitcc1370177f179a8dd91bdeab903223ffde972393
treedd17bf7fcc4ebf0361a937c076ceca470d35e0a6
parentf62071463936cc5eb778cdece31b1f6765e7647a
ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1

This fixes the SND_PCI_QUIRK(...) of the TongFang PHxTxX1 barebone. This
fixes the issue of sound not working after s3 suspend.

When waking up from s3 suspend the Coef 0x10 is set to 0x0220 instead of
0x0020. Setting the value manually makes the sound work again. This patch
does this automatically.

While being on it, I also fixed the comment formatting of the quirk and
shortened variable and function names.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Fixes: 1c91dbbbf5e0 ("ALSA: hda/realtek: Add quirk for TongFang PHxTxX1")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211202165010.876431-1-wse@tuxedocomputers.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c