Skip to content

Commit 2bdccfd

Browse files
KailangYangtiwai
authored andcommitted
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]>
1 parent 3af4a4f commit 2bdccfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ static int alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports)
832832
alc_setup_gpio(codec, 0x02);
833833
break;
834834
case 7:
835-
alc_setup_gpio(codec, 0x03);
835+
alc_setup_gpio(codec, 0x04);
836836
break;
837837
case 5:
838838
default:

0 commit comments

Comments
 (0)