Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353231
b: refs/heads/master
c: 2ad779b
h: refs/heads/master
i:
  353229: b493893
  353227: 9ee6630
  353223: d600a60
  353215: 37b28b2
v: v3
  • Loading branch information
Takashi Iwai committed Feb 1, 2013
1 parent bdb586f commit ed1da83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a7c516bf0cd697dbbee11db6258e3b3146e41a6
refs/heads/master: 2ad779b7329d6894a80df94e693e72eaa0d56790
6 changes: 5 additions & 1 deletion trunk/sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1100,8 +1100,12 @@ static int hdmi_pcm_open(struct hda_pcm_stream *hinfo,
if (!static_hdmi_pcm && eld->eld_valid) {
snd_hdmi_eld_update_pcm_info(eld, hinfo);
if (hinfo->channels_min > hinfo->channels_max ||
!hinfo->rates || !hinfo->formats)
!hinfo->rates || !hinfo->formats) {
per_cvt->assigned = 0;
hinfo->nid = 0;
snd_hda_spdif_ctls_unassign(codec, pin_idx);
return -ENODEV;
}
}

/* Store the updated parameters */
Expand Down

0 comments on commit ed1da83

Please sign in to comment.