]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rsnd: tidyup register naming of BUSIF_MODE
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 24 Jan 2014 02:37:39 +0000 (18:37 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:41:15 +0000 (12:41 +0000)
Gen1:SRU has only 1 BUSIF_MODE,
but Gen2:SSIU/SCU has SRCm_BUSIF_MODE, and SSIn_BUSIF_MODE.
This patch rename current BUSIF_MODE to SRC_BUSIF_MODE.

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

index add088bd4b2aa7163b98f5faab7bd84b52a77fff..cbdbbfa322b8d56d12baffcf8525d903f6f67d4b 100644 (file)
@@ -317,7 +317,7 @@ static int rsnd_gen1_regmap_init(struct rsnd_priv *priv, struct rsnd_gen *gen)
                RSND_GEN1_S_REG(gen, SRU,       SRC_ROUTE_CTRL, 0xc0),
                RSND_GEN1_S_REG(gen, SRU,       SSI_MODE0,      0xD0),
                RSND_GEN1_S_REG(gen, SRU,       SSI_MODE1,      0xD4),
-               RSND_GEN1_M_REG(gen, SRU,       BUSIF_MODE,     0x20,   0x4),
+               RSND_GEN1_M_REG(gen, SRU,       SRC_BUSIF_MODE, 0x20,   0x4),
                RSND_GEN1_M_REG(gen, SRU,       SRC_ROUTE_MODE0,0x50,   0x8),
                RSND_GEN1_M_REG(gen, SRU,       SRC_SWRSR,      0x200,  0x40),
                RSND_GEN1_M_REG(gen, SRU,       SRC_SRCIR,      0x204,  0x40),
index 4ca66cd899c87415e263219c400fea5ce4e51df0..f62b9eb274e1d62ca4443dd4e0973368134cff5e 100644 (file)
@@ -39,8 +39,8 @@ enum rsnd_reg {
        RSND_REG_SRC_ROUTE_CTRL,        /* for Gen1 */
        RSND_REG_SSI_MODE0,
        RSND_REG_SSI_MODE1,
-       RSND_REG_BUSIF_MODE,
        RSND_REG_INT_ENABLE,            /* for Gen2 */
+       RSND_REG_SRC_BUSIF_MODE,
        RSND_REG_SRC_ROUTE_MODE0,
        RSND_REG_SRC_SWRSR,
        RSND_REG_SRC_SRCIR,
index 9bb08bb1d4553ba43cdc135b04c7c1b725a1af68..9b9daa3821a3df6101ea320507a3add705f9f1cd 100644 (file)
@@ -211,7 +211,7 @@ static int rsnd_scu_convert_rate_ctrl(struct rsnd_priv *priv,
        rsnd_mod_write(mod, SRC_SRCIR, 0);
 
        /* use DMA transfer */
-       rsnd_mod_write(mod, BUSIF_MODE, 1);
+       rsnd_mod_write(mod, SRC_BUSIF_MODE, 1);
 
        return 0;
 }