diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-10-21 23:13:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-22 08:30:01 -0400 |
commit | c9b9638f617871aa83c197eed8f068294c843b69 (patch) | |
tree | 31788a7caef522c43dde5d564437107a2f6cff01 /sound/soc/sh | |
parent | 8a98b4223d0eab88bba5eb215b275da4ff6ed99c (diff) |
ASoC: rsnd: fixup print debug message after read
debug meesage for rsnd_mod_read() should be prints after read
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/rcar/gen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/gen.c b/sound/soc/sh/rcar/gen.c index f04d17bc6e3d..0c69f83f0d58 100644 --- a/sound/soc/sh/rcar/gen.c +++ b/sound/soc/sh/rcar/gen.c | |||
@@ -79,11 +79,11 @@ u32 rsnd_read(struct rsnd_priv *priv, | |||
79 | if (!rsnd_is_accessible_reg(priv, gen, reg)) | 79 | if (!rsnd_is_accessible_reg(priv, gen, reg)) |
80 | return 0; | 80 | return 0; |
81 | 81 | ||
82 | regmap_fields_read(gen->regs[reg], rsnd_mod_id(mod), &val); | ||
83 | |||
82 | dev_dbg(dev, "r %s[%d] - %4d : %08x\n", | 84 | dev_dbg(dev, "r %s[%d] - %4d : %08x\n", |
83 | rsnd_mod_name(mod), rsnd_mod_id(mod), reg, val); | 85 | rsnd_mod_name(mod), rsnd_mod_id(mod), reg, val); |
84 | 86 | ||
85 | regmap_fields_read(gen->regs[reg], rsnd_mod_id(mod), &val); | ||
86 | |||
87 | return val; | 87 | return val; |
88 | } | 88 | } |
89 | 89 | ||