ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 May 2021 08:20:57 +0000 (10:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 May 2021 08:41:20 +0000 (10:41 +0200)
commit8eedd3a70a70f51fa963f3ad7fa97afd0c75bd44
treea817f803f692650d662b44e5dbcf4e9c6633d0d0
parentab2165e2e6ed17345ffa8ee88ca764e8788ebcd7
ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA

It was reported that the headphone output on ASUS UX430UA (SSID
1043:1740) with ALC295 codec is silent while the speaker works.
After the investigation, it turned out that the DAC assignment has to
be fixed on this machine; unlike others, it expects DAC 0x02 to be
assigned to the speaker pin 0x07 while DAC 0x03 to headphone pin
0x21.

This patch provides a fixup for the fixed DAC/pin mapping for this
device.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=212933
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210504082057.6913-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c