projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080108c
)
ALSA: hda - Allow 3/5/7 channel map for HDMI/DP
author
Takashi Iwai
<tiwai@suse.de>
Mon, 10 Sep 2012 14:08:40 +0000
(16:08 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 10 Sep 2012 14:08:40 +0000
(16:08 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_hdmi.c
b/sound/pci/hda/patch_hdmi.c
index
2c53ea8
..
71555cc
100644
(file)
--- 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;