diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-06-07 01:15:06 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-08 01:03:14 +0200 |
commit | 0f163546a772d62250f59bad6a9338a0e3a2605c (patch) | |
tree | 3005bdac3443c38efd57908f74cbbad55a37e870 /sound/soc/codecs/wm8903.c | |
parent | ASoC: tegra: use DAI's not card's dev for dev_err (diff) | |
download | linux-0f163546a772d62250f59bad6a9338a0e3a2605c.tar.xz linux-0f163546a772d62250f59bad6a9338a0e3a2605c.zip |
ASoC: tegra: use regmap more directly
Stop open-coding the caching of the ctrl registers; instead, use
regmap_update_bits() to update parts of the register from different
places. The removal of the open-coded cache will allow controls to be
created which touch registers, which will be necessary if any of these
modules are converted to CODECs.
Get rid of tegra*_read/write; just call regmap_read/write directly.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
0 files changed, 0 insertions, 0 deletions