From: Takashi Iwai Date: Thu, 26 Dec 2013 22:13:08 +0000 (+0200) Subject: ALSA: rme9652: fix a missing comma in channel_map_9636_ds[] X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=770bd4bf2e664939a9dacd3d26ec9ff7a3933210;p=deliverable%2Flinux.git ALSA: rme9652: fix a missing comma in channel_map_9636_ds[] 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 Cc: Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c index b96d9e1adf6d..3717f2dd30be 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 };