ALSA: hdspm - Fix DS/QS output channel mappings on RME MADI/MADIface
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Wed, 23 Feb 2011 10:43:11 +0000 (11:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Feb 2011 14:43:30 +0000 (15:43 +0100)
Caused by two typos, no output channel mappings were assigned for
MADI/MADIface at double/quad speed.

The channel mapping is indeed identical to the single speed mapping, the
cards will simply use the first N channels.

Signed-off-by: Florian Faber <faber@faberman.de>
Signed-off-by: Fredrik Lingvall <fredrik.lingvall@gmail.com>
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c

index 17939b9713ea714a730db381660bcfc3cb3638d7..7246302f6900d90fa5ed574791ce119ecac02cd9 100644 (file)
@@ -6462,9 +6462,9 @@ static int __devinit snd_hdspm_create(struct snd_card *card,
 
                hdspm->channel_map_in_ss = hdspm->channel_map_out_ss =
                        channel_map_unity_ss;
-               hdspm->channel_map_in_ds = hdspm->channel_map_out_ss =
+               hdspm->channel_map_in_ds = hdspm->channel_map_out_ds =
                        channel_map_unity_ss;
-               hdspm->channel_map_in_qs = hdspm->channel_map_out_ss =
+               hdspm->channel_map_in_qs = hdspm->channel_map_out_qs =
                        channel_map_unity_ss;
 
                hdspm->port_names_in_ss = hdspm->port_names_out_ss =