aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-12-26 17:13:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-06 14:08:15 -0500
commitee0ba9535137239ed7a25964a075ed6b9bcad719 (patch)
treea119c6d002fe441ad48a691717d88fed29189d02 /sound/pci
parent24489565e2a3400de95a269f451a79b577222f1a (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci')
-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 773a67fff4cd..431bf6897dd6 100644
--- a/sound/pci/rme9652/rme9652.c
+++ b/sound/pci/rme9652/rme9652.c
@@ -285,7 +285,7 @@ static char channel_map_9636_ds[26] = {
285 /* ADAT channels are remapped */ 285 /* ADAT channels are remapped */
286 1, 3, 5, 7, 9, 11, 13, 15, 286 1, 3, 5, 7, 9, 11, 13, 15,
287 /* channels 8 and 9 are S/PDIF */ 287 /* channels 8 and 9 are S/PDIF */
288 24, 25 288 24, 25,
289 /* others don't exist */ 289 /* others don't exist */
290 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 290 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
291}; 291};