ASoC: tegra: ensure clocks are enabled when touching registers
authorStephen Warren <swarren@nvidia.com>
Fri, 30 Mar 2012 23:07:17 +0000 (17:07 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Apr 2012 22:02:11 +0000 (23:02 +0100)
commitcd1506736f3a77429f619ede817a119a7ff5f7e5
treeaea1a4ac264c21d87b6585ced25b83a0f573f5a5
parentf0cdcf3ab6c62b3f774a2af15dfa01988e7a9b02
ASoC: tegra: ensure clocks are enabled when touching registers

Debugfs files could be accessed any time, so explicitly enable clocks
when reading registers to generate debugfs file content.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_i2s.c
sound/soc/tegra/tegra_spdif.c