diff options
author | Sumit Bhattacharya <sumitb@nvidia.com> | 2011-09-28 22:18:46 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:16 -0800 |
commit | d7e091608521465c0484d12052e24b59c5f28235 (patch) | |
tree | de7226adcd1e4f94f2da5717574a46aa246a03e5 /sound/soc/tegra/tegra30_i2s.h | |
parent | 1bdb0af1054890a367f73899c163944c1a40aaba (diff) |
ASoC: Tegra: Modifiy I2s and AHUB clock management
Remove redundant ref counting for I2s and AHUB clocks.
For Tegra30 enable AHUB clocks before I2s registers are accessed.
Disable clocks when they are not in use.
Bug 872652
Change-Id: I7ec4e45cecd0391d0b5a2765214d6c03fa5cc339
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55005
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Rebase-Id: R886c4a1a472c6b68240f2899a0b0be94c7ac9966
Diffstat (limited to 'sound/soc/tegra/tegra30_i2s.h')
-rw-r--r-- | sound/soc/tegra/tegra30_i2s.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra30_i2s.h b/sound/soc/tegra/tegra30_i2s.h index 6c5205f089d8..da3bedc55946 100644 --- a/sound/soc/tegra/tegra30_i2s.h +++ b/sound/soc/tegra/tegra30_i2s.h @@ -231,7 +231,6 @@ struct tegra30_i2s { int id; struct clk *clk_i2s; - int clk_refs; enum tegra30_ahub_rxcif rxcif; struct tegra_pcm_dma_params capture_dma_data; enum tegra30_ahub_txcif txcif; |