ASoC: msm: qdsp6v2: Fix MI2S channel mapping

For MI2S, SD lines using for audio playback and capture come
from platform data, then map to LPASS MI2S interface. There
is bug in the mapping function which causes incorrect SD
lines are assigned which leads to AFE starts failed.

Change-Id: I0dd79768350d32d22cefcefead6bfd4aa172e5fc
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
1 file changed