aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-12-27 00:13:08 +0200
committerBen Hutchings <ben@decadent.org.uk>2014-04-02 00:58:41 +0100
commitfcff6f399adcb23862b5f2cee1a3bcf8fc1926c7 (patch)
tree71bbc8f50d630669aeb34429d24cb3b0eae63eee /sound
parent9210bf58990e9a323104dc648a8e4c8ef1c4c20b (diff)
downloadkernel_samsung_smdk4412-fcff6f399adcb23862b5f2cee1a3bcf8fc1926c7.zip
kernel_samsung_smdk4412-fcff6f399adcb23862b5f2cee1a3bcf8fc1926c7.tar.gz
kernel_samsung_smdk4412-fcff6f399adcb23862b5f2cee1a3bcf8fc1926c7.tar.bz2
ALSA: rme9652: fix a missing comma in channel_map_9636_ds[]
commit 770bd4bf2e664939a9dacd3d26ec9ff7a3933210 upstream. The lack of comma leads to the wrong channel for an SPDIF channel. Unfortunately this wasn't caught by compiler because it's still a valid expression. Reported-by: Alexander Aristov <aristov.alexander@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/rme9652/rme9652.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c
index 732c5e8..1b35864 100644
--- a/sound/pci/rme9652/rme9652.c
+++ b/sound/pci/rme9652/rme9652.c
@@ -285,7 +285,7 @@ static char channel_map_9636_ds[26] = {
/* ADAT channels are remapped */
1, 3, 5, 7, 9, 11, 13, 15,
/* channels 8 and 9 are S/PDIF */
- 24, 25
+ 24, 25,
/* others don't exist */
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
};