]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l51: Convert to direct regmap API usage
authorMark Brown <broonie@linaro.org>
Tue, 11 Feb 2014 19:24:31 +0000 (19:24 +0000)
committerMark Brown <broonie@linaro.org>
Tue, 11 Feb 2014 19:58:50 +0000 (19:58 +0000)
commit387af90e041627f54d48bdd4db5a7fa7cc714eb6
tree41e2ed15469e76b2e8738c9a8b8632f5c6b867dc
parentd482260e2d2a8fe1ba9c0edc80ad495398034875
ASoC: cs42l51: Convert to direct regmap API usage

As part of phasing out the ASoC level register I/O code (which is now just
a thin wrapper around regmap anyway) convert the cs42l51 driver to use the
regmap API directly.

We now no longer initialise the cache from hardware at startup, the regmap
caches are smart enough to understand which registers are actually cached
and read on demand. This should have no visible effect on the system.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Brian Austin <brian.austin@cirrus.com>
sound/soc/codecs/cs42l51.c