Parcourir la source

ALSA: hda - Allow 3/5/7 channel map for HDMI/DP

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai il y a 12 ans
Parent
commit
498dab3aa7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sound/pci/hda/patch_hdmi.c

+ 1 - 1
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;