summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2014-01-23 18:39:23 -0800
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:13:00 +0100
commite6725fd18b4b5d1296673f11510cceea174069c4 (patch)
treeacbe0eac8700ab4ff6a10d1ea78fcbb90063ab0a
parentb2549d162c8d1bcbacb6df840c24643fbfbb7873 (diff)
downloadkernel-common-e6725fd18b4b5d1296673f11510cceea174069c4.tar.gz
kernel-common-e6725fd18b4b5d1296673f11510cceea174069c4.tar.bz2
kernel-common-e6725fd18b4b5d1296673f11510cceea174069c4.zip
ASoC: rsnd: remove pin sync option
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> (cherry picked from commit 6f3ab6c1c022e7a4877d38940cd45ae7804a15e2) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--include/sound/rcar_snd.h1
-rw-r--r--sound/soc/sh/rcar/ssi.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/rcar_snd.h b/include/sound/rcar_snd.h
index 6add6ccc811e..1d19bfc2486d 100644
--- a/include/sound/rcar_snd.h
+++ b/include/sound/rcar_snd.h
@@ -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)
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index ddcca067908c..68393a9f91bf 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -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);