From: Oder Chiou Date: Wed, 22 Oct 2014 08:11:39 +0000 (+0800) Subject: ASoC: rt5677: Add TDM channel mapping function X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~20^2~12^4~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6f6ebc1f8f60d6d44f6be22c6386c238d6a9d97;p=pandora-kernel.git ASoC: rt5677: Add TDM channel mapping function It is for channel to slot mapping, and it is not only for 8 channels mapping, but also in 2, 4 and 6 channels mapping. If we want to use the 2 channels in the stereo2 adc path, we need to set the item "2/1/3/4" or "2/3/1/4". It also adds for stereo channel swap. It can map the sterero channels "L/R" to "R/L", "L/L" or R/R. Signed-off-by: Oder Chiou Signed-off-by: Mark Brown --- Reading git-diff-tree failed