ASoC: rsnd: tidyup DVC/SRC/SSI order
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 15 Jan 2015 08:09:44 +0000 (08:09 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jan 2015 11:37:49 +0000 (11:37 +0000)
Current R-Car sound driver calls SRC -> SSI -> DVC functions,
but, it should be DVC -> SRC -> SSI.
Otherwise, SSI (= interface of codec) will have underrun error
when playback.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/rsnd.h

index 11a1c412f1f13bcca286dbd335fda17fc1775070..b57d8ace012a777e11b1c12c54714a583ea0890c 100644 (file)
@@ -190,9 +190,9 @@ void  rsnd_dma_quit(struct rsnd_priv *priv,
  *     R-Car sound mod
  */
 enum rsnd_mod_type {
-       RSND_MOD_SRC = 0,
+       RSND_MOD_DVC = 0,
+       RSND_MOD_SRC,
        RSND_MOD_SSI,
-       RSND_MOD_DVC,
        RSND_MOD_MAX,
 };