summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-02-25 06:52:13 +0100
committerMark Brown <broonie@kernel.org>2016-03-05 05:27:27 +0100
commit135bb7d5c7b3fa40cd0559b5500a50d4e3663f6e (patch)
tree8a63848ee3e0c18c0620398ff5c79a375707c50c /sound
parentASoC: rsrc-card: add convert channels support (diff)
downloadlinux-135bb7d5c7b3fa40cd0559b5500a50d4e3663f6e.tar.xz
linux-135bb7d5c7b3fa40cd0559b5500a50d4e3663f6e.zip
ASoC: rsnd: tidyup rsnd_ssiu_init_gen2()
remove unnecessary variable Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sh/rcar/ssiu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c
index 1b8ea0e09bc2..0d964a0a3e31 100644
--- a/sound/soc/sh/rcar/ssiu.c
+++ b/sound/soc/sh/rcar/ssiu.c
@@ -115,13 +115,12 @@ static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod,
}
if (rsnd_ssi_use_busif(io)) {
- u32 val = rsnd_get_dalign(mod, io);
-
rsnd_mod_write(mod, SSI_BUSIF_ADINR,
rsnd_get_adinr_bit(mod, io) |
rsnd_get_adinr_chan(mod, io));
rsnd_mod_write(mod, SSI_BUSIF_MODE, 1);
- rsnd_mod_write(mod, SSI_BUSIF_DALIGN, val);
+ rsnd_mod_write(mod, SSI_BUSIF_DALIGN,
+ rsnd_get_dalign(mod, io));
}
return 0;