diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-07-15 03:09:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 17:10:33 -0400 |
commit | cdde84d10d3cb4d35051bc5fdb268f6faf33d1c8 (patch) | |
tree | b6d00b15f6f6ddcd71b18e04333a0773ecf5f480 | |
parent | 6abcae32ea68899bfd4b770433860a71f8c3500b (diff) |
ASoC: rsnd: rename BUSIF_DALIGN to SSI_BUSIF_DALIGN
based on datasheet
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/sh/rcar/gen.c | 2 | ||||
-rw-r--r-- | sound/soc/sh/rcar/rsnd.h | 2 | ||||
-rw-r--r-- | sound/soc/sh/rcar/src.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/sh/rcar/gen.c b/sound/soc/sh/rcar/gen.c index 48f704b1d80e..9dc1968d6f37 100644 --- a/sound/soc/sh/rcar/gen.c +++ b/sound/soc/sh/rcar/gen.c | |||
@@ -216,7 +216,7 @@ static int rsnd_gen2_probe(struct platform_device *pdev, | |||
216 | /* FIXME: it needs SSI_MODE2/3 in the future */ | 216 | /* FIXME: it needs SSI_MODE2/3 in the future */ |
217 | RSND_GEN_M_REG(SSI_BUSIF_MODE, 0x0, 0x80), | 217 | RSND_GEN_M_REG(SSI_BUSIF_MODE, 0x0, 0x80), |
218 | RSND_GEN_M_REG(SSI_BUSIF_ADINR, 0x4, 0x80), | 218 | RSND_GEN_M_REG(SSI_BUSIF_ADINR, 0x4, 0x80), |
219 | RSND_GEN_M_REG(BUSIF_DALIGN, 0x8, 0x80), | 219 | RSND_GEN_M_REG(SSI_BUSIF_DALIGN,0x8, 0x80), |
220 | RSND_GEN_M_REG(SSI_CTRL, 0x10, 0x80), | 220 | RSND_GEN_M_REG(SSI_CTRL, 0x10, 0x80), |
221 | RSND_GEN_M_REG(INT_ENABLE, 0x18, 0x80), | 221 | RSND_GEN_M_REG(INT_ENABLE, 0x18, 0x80), |
222 | }; | 222 | }; |
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index f729646e3d18..f49b0cb1f5a2 100644 --- a/sound/soc/sh/rcar/rsnd.h +++ b/sound/soc/sh/rcar/rsnd.h | |||
@@ -136,7 +136,7 @@ enum rsnd_reg { | |||
136 | #define RSND_REG_AUDIO_CLK_SEL2 RSND_REG_SHARE19 | 136 | #define RSND_REG_AUDIO_CLK_SEL2 RSND_REG_SHARE19 |
137 | #define RSND_REG_CMD_CTRL RSND_REG_SHARE20 | 137 | #define RSND_REG_CMD_CTRL RSND_REG_SHARE20 |
138 | #define RSND_REG_CMDOUT_TIMSEL RSND_REG_SHARE21 | 138 | #define RSND_REG_CMDOUT_TIMSEL RSND_REG_SHARE21 |
139 | #define RSND_REG_BUSIF_DALIGN RSND_REG_SHARE22 | 139 | #define RSND_REG_SSI_BUSIF_DALIGN RSND_REG_SHARE22 |
140 | #define RSND_REG_DVC_VRCTR RSND_REG_SHARE23 | 140 | #define RSND_REG_DVC_VRCTR RSND_REG_SHARE23 |
141 | #define RSND_REG_DVC_VRPDR RSND_REG_SHARE24 | 141 | #define RSND_REG_DVC_VRPDR RSND_REG_SHARE24 |
142 | #define RSND_REG_DVC_VRDBR RSND_REG_SHARE25 | 142 | #define RSND_REG_DVC_VRDBR RSND_REG_SHARE25 |
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c index 37927ca66162..3f6f4df7318d 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c | |||
@@ -189,7 +189,7 @@ int rsnd_src_ssiu_start(struct rsnd_mod *ssi_mod, | |||
189 | val |= 0x76543210 & ~mask; | 189 | val |= 0x76543210 & ~mask; |
190 | break; | 190 | break; |
191 | } | 191 | } |
192 | rsnd_mod_write(ssi_mod, BUSIF_DALIGN, val); | 192 | rsnd_mod_write(ssi_mod, SSI_BUSIF_DALIGN, val); |
193 | 193 | ||
194 | } | 194 | } |
195 | 195 | ||