projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec06b2b
)
ALSA: rme9652: fix a missing comma in channel_map_9636_ds[]
author
Takashi Iwai
<tiwai@suse.de>
Thu, 26 Dec 2013 22:13:08 +0000
(
00:13
+0200)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 5 Jan 2014 10:50:33 +0000
(11:50 +0100)
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/rme9652.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/rme9652/rme9652.c
b/sound/pci/rme9652/rme9652.c
index b96d9e1adf6de027cb57899a6f31998d69988300..3717f2dd30beea90c20493f57ee6fbe56537177b 100644
(file)
--- 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
};