]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - fixed wrong gpio assigned
authorKailang Yang <kailang@realtek.com>
Mon, 13 Feb 2023 06:54:22 +0000 (14:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:59:48 +0000 (12:59 +0100)
commita58fbd96b01453164c69416ad24bbf084adc0722
tree001194b3cdca533fc1f30d16c1ed5fbe538c59fb
parent571c9f935c6f3cc36bdc29047d7c59bd0cdaabdd
ALSA: hda/realtek - fixed wrong gpio assigned

commit b112c45a09647d0b58a05475a5e3d27602e4980a upstream.

GPIO2 PIN use for output. Mask Dir and Data need to assign for 0x4. Not 0x3.
This fixed was for Lenovo Desktop(0x17aa1056). GPIO2 use for AMP enable.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/8d02bb9ac8134f878cd08607fdf088fd@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c