From: Takashi Sakamoto Date: Fri, 29 Aug 2014 04:40:44 +0000 (+0900) Subject: ALSA: dice: fix wrong channel mappping at higher sampling rate X-Git-Tag: fixes-v3.17-rc4~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1033eb5b5aeeb526c22068e0fb0cef9f3c14231e;p=pandora-kernel.git ALSA: dice: fix wrong channel mappping at higher sampling rate The channel mapping is initialized by amdtp_stream_set_parameters(), however Dice driver set it before calling this function. Furthermore, the setting is wrong because the index is the value of array, and vice versa. This commit moves codes for channel mapping after the function and set it correctly. Reported-by: Daniel Robbins Fixes: 10550bea44a8 ("ALSA: dice/firewire-lib: Keep dualwire mode but obsolete CIP_HI_DUALWIRE") Signed-off-by: Takashi Sakamoto Cc: # 3.16 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed