mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 11:40:53 +07:00
ALSA: HDA: Fixup Realtek headphone pin initialization
This typo caused headphone pins not to be initialized correctly. BugLink: https://bugs.launchpad.net/bugs/871582 Reported-by: Effenberg Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6c5c04e509
commit
636030e90e
@ -3263,7 +3263,7 @@ static void alc_auto_init_extra_out(struct hda_codec *codec)
|
|||||||
int i;
|
int i;
|
||||||
hda_nid_t pin, dac;
|
hda_nid_t pin, dac;
|
||||||
|
|
||||||
for (i = 0; i < spec->autocfg.speaker_outs; i++) {
|
for (i = 0; i < spec->autocfg.hp_outs; i++) {
|
||||||
pin = spec->autocfg.hp_pins[i];
|
pin = spec->autocfg.hp_pins[i];
|
||||||
if (!pin)
|
if (!pin)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user