Skip to content

Commit

Permalink
ALSA: hda - Fix the pin nid assignment in patch_hdmi.c
Browse files Browse the repository at this point in the history
This fixes the regression introduced by the commit d0b1252 for
refactoring simple_hdmi*().  The pin NID wasn't assigned correctly.

Reported-by: Annie Liu <annieliu@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jun 20, 2012
1 parent 250e41a commit 21cd683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 21cd683

Please sign in to comment.