projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af4a4f
)
ALSA: hda/realtek - fixed wrong gpio assigned
author
Kailang Yang
<kailang@realtek.com>
Mon, 13 Feb 2023 06:54:22 +0000
(14:54 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 13 Feb 2023 08:10:21 +0000
(09:10 +0100)
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>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index
1134a49
..
14b84a1
100644
(file)
--- 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, 0x0
3
);
+ alc_setup_gpio(codec, 0x0
4
);
break;
case 5:
default: