diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-09-10 16:08:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-09-10 16:08:40 +0200 |
commit | 498dab3aa7f8851a880ffe9d8e66516851950c59 (patch) | |
tree | 8d5f2e885e029b2f0ee235542367e132b843a751 /sound/pci/hda/patch_hdmi.c | |
parent | 080108c4747c7378c3601b8584237484f977d8a8 (diff) |
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.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 2c53ea889da..71555cc54db 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; |