diff options
author | Kailang Yang <[email protected]> | 2023-02-13 14:54:22 +0800 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-02-13 09:10:21 +0100 |
commit | 2bdccfd290d421b50df4ec6a68d832dad1310748 (patch) | |
tree | ac83082e133f9869da08d4c0d08046ce9997eb0c | |
parent | 3af4a4f7a20c94009adba65764fa5a0269d70a82 (diff) |
ALSA: hda/realtek - fixed wrong gpio assigned
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 <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 1134a493d225..14b84a1f43d3 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -832,7 +832,7 @@ do_sku: alc_setup_gpio(codec, 0x02); break; case 7: - alc_setup_gpio(codec, 0x03); + alc_setup_gpio(codec, 0x04); break; case 5: default: |