summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra20_i2s.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-06-07 03:15:06 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-08 03:03:14 +0400
commit0f163546a772d62250f59bad6a9338a0e3a2605c (patch)
tree3005bdac3443c38efd57908f74cbbad55a37e870 /sound/soc/tegra/tegra20_i2s.h
parentc92a40e3a163b6708e0dd82ba4612f79df846912 (diff)
downloadlinux-0f163546a772d62250f59bad6a9338a0e3a2605c.tar.xz
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_i2s.h')
-rw-r--r--sound/soc/tegra/tegra20_i2s.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra20_i2s.h b/sound/soc/tegra/tegra20_i2s.h
index a57efc6a597e..c27069d24d77 100644
--- a/sound/soc/tegra/tegra20_i2s.h
+++ b/sound/soc/tegra/tegra20_i2s.h
@@ -158,7 +158,6 @@ struct tegra20_i2s {
struct tegra_pcm_dma_params capture_dma_data;
struct tegra_pcm_dma_params playback_dma_data;
struct regmap *regmap;
- u32 reg_ctrl;
};
#endif