ASoC: rsnd: remove pin sync option
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 24 Jan 2014 02:39:23 +0000 (18:39 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:41:36 +0000 (12:41 +0000)
Renesas Chip is supporting multi pin sound,
but the HW setting is very difficult and confusable.
But driver is supporting it halfway.
Remove SYNC option at this point.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/rcar_snd.h
sound/soc/sh/rcar/ssi.c

index 6add6ccc811e508766e1656164ea9ee09dc50aeb..1d19bfc2486d0bdf6fb7d4c9a9ef7a846f7714b3 100644 (file)
@@ -35,6 +35,7 @@
  */
 #define RSND_SSI_CLK_PIN_SHARE         (1 << 31)
 #define RSND_SSI_SYNC                  (1 << 29) /* SSI34_sync etc */
+#define RSND_SSI_CLK_FROM_ADG          (1 << 30) /* clock parent is master */
 
 #define RSND_SSI_PLAY                  (1 << 24)
 
index ddcca067908cdfdd251efa76418212906b6ea1c2..68393a9f91bfb302f5a83e431aefad501258edd0 100644 (file)
@@ -136,8 +136,6 @@ static void rsnd_ssi_mode_set(struct rsnd_priv *priv,
                        val = adg;                      \
                else                                    \
                        val = ext;                      \
-               if (flags & RSND_SSI_SYNC)              \
-                       val |= sync;                    \
        } while (0)
 
        flags = rsnd_ssi_mode_flags(ssi);