ASoC: rsnd: fixup index of src/dst mod when capture
[platform/adaptation/renesas_rcar/renesas_kernel.git] / sound / soc / sh / rcar / core.c
index 9188015..4e86265 100644 (file)
@@ -315,7 +315,7 @@ static void rsnd_dma_of_name(struct rsnd_dma *dma,
                dst_mod = mod[index];
        } else {
                src_mod = mod[index];
-               dst_mod = mod[index + 1];
+               dst_mod = mod[index - 1];
        }
 
        index = 0;