projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90432f
)
ASoC: rsnd: tidyup rsnd_ssiu_init_gen2()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 25 Feb 2016 05:52:13 +0000
(
05:52
+0000)
committer
Mark Brown
<broonie@kernel.org>
Sat, 5 Mar 2016 04:27:27 +0000
(13:27 +0900)
remove unnecessary variable
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssiu.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/sh/rcar/ssiu.c
b/sound/soc/sh/rcar/ssiu.c
index 1b8ea0e09bc2d14d7ac949438d29276e2b47f023..0d964a0a3e31af5318878723602f68bd5e7ecee1 100644
(file)
--- 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;