summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_spdif.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-04-19 17:17:59 +0200
committerTakashi Iwai <tiwai@suse.de>2012-04-19 17:20:13 +0200
commitd39801105722c9aef9eae180656190c399c576a9 (patch)
treec999d56c418920a9fda656259afb3f13dfd7616e /sound/soc/tegra/tegra_spdif.c
parent83b0c6ba999643ee8ad6329f26e1cdc870e1a920 (diff)
parentc817eebec5971febab86d397582954bd52f403a8 (diff)
Merge branch 'fix/hda' into topic/hda
Conflicts: sound/pci/hda/patch_conexant.c Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/tegra/tegra_spdif.c')
-rw-r--r--sound/soc/tegra/tegra_spdif.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_spdif.c b/sound/soc/tegra/tegra_spdif.c
index 475428cf270e..9ff2c601445f 100644
--- a/sound/soc/tegra/tegra_spdif.c
+++ b/sound/soc/tegra/tegra_spdif.c
@@ -79,11 +79,15 @@ static int tegra_spdif_show(struct seq_file *s, void *unused)
struct tegra_spdif *spdif = s->private;
int i;
+ clk_enable(spdif->clk_spdif_out);
+
for (i = 0; i < ARRAY_SIZE(regs); i++) {
u32 val = tegra_spdif_read(spdif, regs[i].offset);
seq_printf(s, "%s = %08x\n", regs[i].name, val);
}
+ clk_disable(spdif->clk_spdif_out);
+
return 0;
}