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/tegra/tegra20_spdif.h | |
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/tegra/tegra20_spdif.h')
-rw-r--r-- | sound/soc/tegra/tegra20_spdif.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra20_spdif.h b/sound/soc/tegra/tegra20_spdif.h index ed756527efea..b48d699fd583 100644 --- a/sound/soc/tegra/tegra20_spdif.h +++ b/sound/soc/tegra/tegra20_spdif.h @@ -465,7 +465,6 @@ struct tegra20_spdif { struct tegra_pcm_dma_params capture_dma_data; struct tegra_pcm_dma_params playback_dma_data; struct regmap *regmap; - u32 reg_ctrl; }; #endif |