diff options
Diffstat (limited to 'sound/soc/tegra/tegra_spdif.c')
| -rw-r--r-- | sound/soc/tegra/tegra_spdif.c | 4 |
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) | |||
| 79 | struct tegra_spdif *spdif = s->private; | 79 | struct tegra_spdif *spdif = s->private; |
| 80 | int i; | 80 | int i; |
| 81 | 81 | ||
| 82 | clk_enable(spdif->clk_spdif_out); | ||
| 83 | |||
| 82 | for (i = 0; i < ARRAY_SIZE(regs); i++) { | 84 | for (i = 0; i < ARRAY_SIZE(regs); i++) { |
| 83 | u32 val = tegra_spdif_read(spdif, regs[i].offset); | 85 | u32 val = tegra_spdif_read(spdif, regs[i].offset); |
| 84 | seq_printf(s, "%s = %08x\n", regs[i].name, val); | 86 | seq_printf(s, "%s = %08x\n", regs[i].name, val); |
| 85 | } | 87 | } |
| 86 | 88 | ||
| 89 | clk_disable(spdif->clk_spdif_out); | ||
| 90 | |||
| 87 | return 0; | 91 | return 0; |
| 88 | } | 92 | } |
| 89 | 93 | ||
