ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.
authorConnor McAdams <conmanx360@gmail.com>
Thu, 10 Dec 2020 17:35:48 +0000 (12:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:06 +0000 (11:54 +0100)
commit c697ba85a94b8f65bf90dec5ef9af5c39c3e73b2 upstream.

The Windows driver sets the pincfg for the AE-5's rear-headphone to
report as a microphone. This causes issues with Pulseaudio mistakenly
believing there is no headphone plugged in. In Linux, we should instead
set it to be a headphone.

Fixes: a6b0961b39896 ("ALSA: hda/ca0132 - fix AE-5 pincfg")
Cc: <stable@kernel.org>
Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Link: https://lore.kernel.org/r/20201208195223.424753-1-conmanx360@gmail.com
Link: https://lore.kernel.org/r/20201210173550.2968-1-conmanx360@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_ca0132.c

index 44cc215..ee500e4 100644 (file)
@@ -1223,7 +1223,7 @@ static const struct hda_pintbl ae5_pincfgs[] = {
        { 0x0e, 0x01c510f0 }, /* SPDIF In */
        { 0x0f, 0x01017114 }, /* Port A -- Rear L/R. */
        { 0x10, 0x01017012 }, /* Port D -- Center/LFE or FP Hp */
-       { 0x11, 0x01a170ff }, /* Port B -- LineMicIn2 / Rear Headphone */
+       { 0x11, 0x012170ff }, /* Port B -- LineMicIn2 / Rear Headphone */
        { 0x12, 0x01a170f0 }, /* Port C -- LineIn1 */
        { 0x13, 0x908700f0 }, /* What U Hear In*/
        { 0x18, 0x50d000f0 }, /* N/A */