From 8ed9e53099f1826c0505552380ee57a278309b9c Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 14 Jan 2011 10:33:26 +0100 Subject: [PATCH] --- yaml --- r: 231841 b: refs/heads/master c: 4fe2ca14678174d9df254ae3ba2b79bacc19e2ee h: refs/heads/master i: 231839: b237b086f62963d93db076f642d64c35b4be21bc v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_hdmi.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index ae68629ecada..16d4cae4ac12 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 639cef0eb6df05d5516520aa89b0c9fe62ee2d3b +refs/heads/master: 4fe2ca14678174d9df254ae3ba2b79bacc19e2ee diff --git a/trunk/sound/pci/hda/patch_hdmi.c b/trunk/sound/pci/hda/patch_hdmi.c index 5980552f5970..2d5b83fa8d24 100644 --- a/trunk/sound/pci/hda/patch_hdmi.c +++ b/trunk/sound/pci/hda/patch_hdmi.c @@ -850,6 +850,9 @@ static int hdmi_pcm_open(struct hda_pcm_stream *hinfo, runtime->hw.channels_max = hinfo->channels_max; runtime->hw.formats = hinfo->formats; runtime->hw.rates = hinfo->rates; + + snd_pcm_hw_constraint_step(substream->runtime, 0, + SNDRV_PCM_HW_PARAM_CHANNELS, 2); return 0; }