Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21cd683d authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix the pin nid assignment in patch_hdmi.c



This fixes the regression introduced by the commit d0b1252d for
refactoring simple_hdmi*().  The pin NID wasn't assigned correctly.

Reported-by: default avatarAnnie Liu <annieliu@viatech.com.cn>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 250e41ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1607,7 +1607,7 @@ static int patch_simple_hdmi(struct hda_codec *codec,
	spec->num_cvts = 1;
	spec->num_pins = 1;
	spec->cvts[0].cvt_nid = cvt_nid;
	spec->cvts[0].cvt_nid = pin_nid;
	spec->pins[0].pin_nid = pin_nid;
	spec->pcm_playback = simple_pcm_playback;

	codec->patch_ops = simple_hdmi_patch_ops;