Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298942
b: refs/heads/master
c: cd15067
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Warren authored and Mark Brown committed Apr 2, 2012
1 parent aa68fdd commit a409083
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0cdcf3ab6c62b3f774a2af15dfa01988e7a9b02
refs/heads/master: cd1506736f3a77429f619ede817a119a7ff5f7e5
4 changes: 4 additions & 0 deletions trunk/sound/soc/tegra/tegra_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@ static int tegra_i2s_show(struct seq_file *s, void *unused)
struct tegra_i2s *i2s = s->private;
int i;

clk_enable(i2s->clk_i2s);

for (i = 0; i < ARRAY_SIZE(regs); i++) {
u32 val = tegra_i2s_read(i2s, regs[i].offset);
seq_printf(s, "%s = %08x\n", regs[i].name, val);
}

clk_disable(i2s->clk_i2s);

return 0;
}

Expand Down
4 changes: 4 additions & 0 deletions trunk/sound/soc/tegra/tegra_spdif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a409083

Please sign in to comment.