diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-06-20 03:19:32 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-06-20 03:21:45 -0400 |
commit | 21cd683d318041c63876b4acbebb3f6d9d80597b (patch) | |
tree | 1510ead7a35a12b639390772a6624c6e5fb602fc /sound/pci | |
parent | 250e41ac9f31216db1b592bfd77c6a097f10503d (diff) |
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: Annie Liu <annieliu@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 8891fa658382..72a3b26736ae 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
@@ -1607,7 +1607,7 @@ static int patch_simple_hdmi(struct hda_codec *codec, | |||
1607 | spec->num_cvts = 1; | 1607 | spec->num_cvts = 1; |
1608 | spec->num_pins = 1; | 1608 | spec->num_pins = 1; |
1609 | spec->cvts[0].cvt_nid = cvt_nid; | 1609 | spec->cvts[0].cvt_nid = cvt_nid; |
1610 | spec->cvts[0].cvt_nid = pin_nid; | 1610 | spec->pins[0].pin_nid = pin_nid; |
1611 | spec->pcm_playback = simple_pcm_playback; | 1611 | spec->pcm_playback = simple_pcm_playback; |
1612 | 1612 | ||
1613 | codec->patch_ops = simple_hdmi_patch_ops; | 1613 | codec->patch_ops = simple_hdmi_patch_ops; |