]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rsnd: rsnd_write() / rsnd_bset() uses regmap _force_ function
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 15 Feb 2016 05:26:51 +0000 (05:26 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 03:59:17 +0000 (12:59 +0900)
commitb3fc95ad025683180628f6896d1f82d2cf5d0266
treefd68f8f5555a01296bc1c72a2c6107514dd6567b
parent79e24da00b1137031245f3341828e4215b1b5b59
ASoC: rsnd: rsnd_write() / rsnd_bset() uses regmap _force_ function

Some R-Car sound requests picky register access which needs *force*
register write.
Some status register needs to set 1 to clear status, but we might
read 1 from its register. In such case, current regmap does nothing
and driver will be forever loop
To reduce code complexity, this patch uses regmap _force_
function for all register access.

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