summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_spdif.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-03-30 17:07:16 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 11:28:32 +0100
commit30d436a64415e6d01b8696d6288abe7ad0b383b5 (patch)
treeb896be7dc848ea5745c16ee216f348417ab20e06 /sound/soc/tegra/tegra_spdif.h
parentc0d5a47ca86047aca1616b744ab3ef31b3448994 (diff)
downloadblackbird-op-linux-30d436a64415e6d01b8696d6288abe7ad0b383b5.tar.gz
blackbird-op-linux-30d436a64415e6d01b8696d6288abe7ad0b383b5.zip
ASoC: tegra: remove open-coded clk reference counting
clk_enable/disable() already reference count the enable calls, so there's no need for the callers to do the same. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra_spdif.h')
-rw-r--r--sound/soc/tegra/tegra_spdif.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_spdif.h b/sound/soc/tegra/tegra_spdif.h
index 2e03db430279..f5fc7124aa7b 100644
--- a/sound/soc/tegra/tegra_spdif.h
+++ b/sound/soc/tegra/tegra_spdif.h
@@ -462,7 +462,6 @@
struct tegra_spdif {
struct clk *clk_spdif_out;
- int clk_refs;
struct tegra_pcm_dma_params capture_dma_data;
struct tegra_pcm_dma_params playback_dma_data;
void __iomem *regs;
OpenPOWER on IntegriCloud