From: Adrian Knoth Date: Wed, 23 Feb 2011 10:43:11 +0000 (+0100) Subject: ALSA: hdspm - Fix DS/QS output channel mappings on RME MADI/MADIface X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01e9607815755f748eb8722c3c3d8f308b7b4470;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ALSA: hdspm - Fix DS/QS output channel mappings on RME MADI/MADIface 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 Signed-off-by: Fredrik Lingvall Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 17939b9713ea..7246302f6900 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c @@ -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 =