summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-09-10 18:08:40 +0400
committerTakashi Iwai <tiwai@suse.de>2012-09-10 18:08:40 +0400
commit498dab3aa7f8851a880ffe9d8e66516851950c59 (patch)
tree8d5f2e885e029b2f0ee235542367e132b843a751 /sound/pci/hda/patch_hdmi.c
parent080108c4747c7378c3601b8584237484f977d8a8 (diff)
downloadlinux-498dab3aa7f8851a880ffe9d8e66516851950c59.tar.xz
ALSA: hda - Allow 3/5/7 channel map for HDMI/DP
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r--sound/pci/hda/patch_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 2c53ea889da9..71555cc54db1 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -1441,7 +1441,7 @@ static int hdmi_chmap_ctl_tlv(struct snd_kcontrol *kcontrol, int op_flag,
return -EFAULT;
size -= 8;
dst = tlv + 2;
- for (chs = 2; chs <= spec->channels_max; chs += 2) {
+ for (chs = 2; chs <= spec->channels_max; chs++) {
int i, c;
struct cea_channel_speaker_allocation *cap;
cap = channel_allocations;