Skip to content

Commit 164cd0e

Browse files
kovalev0tiwai
authored andcommitted
ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP EliteOne 1000 G2
The cached version avoids redundant commands to the codec, improving stability and reducing unnecessary operations. This change ensures better power management and reliable restoration of pin configurations, especially after hibernation (S4) and other power transitions. Fixes: 9988844 ("ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2") Suggested-by: Kai-Heng Feng <kaihengf@nvidia.com> Suggested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> Link: https://patch.msgid.link/20241016080713.46801-1-kovalev@altlinux.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 71dce22 commit 164cd0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/patch_conexant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ static void cxt_fixup_update_pinctl(struct hda_codec *codec,
330330
* This is the value stored in the codec register after
331331
* the correct initialization of the previous windows boot.
332332
*/
333-
snd_hda_set_pin_ctl(codec, 0x1d, AC_PINCTL_HP_EN);
333+
snd_hda_set_pin_ctl_cache(codec, 0x1d, AC_PINCTL_HP_EN);
334334
}
335335
}
336336

0 commit comments

Comments
 (0)