Skip to content

Commit

Permalink
ASoC: rsnd: add missing dev_dbg() in rsnd_bset()
Browse files Browse the repository at this point in the history
b8c6378
(ASoC: rsnd: use regmap_mmio instead of original regmap bus)
used regmap_mmio and modified dev_dbg() for rsnd_read/write().
But rsnd_bset() is missing it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Jul 31, 2014
1 parent 1cc7195 commit 4f8f86a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/soc/sh/rcar/gen.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,17 @@ void rsnd_write(struct rsnd_priv *priv,
void rsnd_bset(struct rsnd_priv *priv, struct rsnd_mod *mod,
enum rsnd_reg reg, u32 mask, u32 data)
{
struct device *dev = rsnd_priv_to_dev(priv);
struct rsnd_gen *gen = rsnd_priv_to_gen(priv);

if (!rsnd_is_accessible_reg(priv, gen, reg))
return;

regmap_fields_update_bits(gen->regs[reg], rsnd_mod_id(mod),
mask, data);

dev_dbg(dev, "b %s - 0x%04d : %08x/%08x\n",
rsnd_mod_name(mod), reg, data, mask);
}

#define rsnd_gen_regmap_init(priv, id_size, reg_id, conf) \
Expand Down

0 comments on commit 4f8f86a

Please sign in to comment.