Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251030
b: refs/heads/master
c: ab46d8b
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed May 11, 2011
1 parent ceaf1ca commit 94e682c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3502ce97f2d2d183735d9fae76b081a634ffd85
refs/heads/master: ab46d8b2a346ef9d2dc70d7e11aef5e752a090f8
13 changes: 12 additions & 1 deletion trunk/drivers/video/omap2/dss/dss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,15 +1026,26 @@ static void core_dump_clocks(struct seq_file *s)
dss.dss_video_fck
};

const char *names[5] = {
"ick",
"fck",
"sys_clk",
"tv_fck",
"video_fck"
};

seq_printf(s, "- CORE -\n");

seq_printf(s, "internal clk count\t\t%u\n", dss.num_clks_enabled);

for (i = 0; i < 5; i++) {
if (!clocks[i])
continue;
seq_printf(s, "%-15s\t%lu\t%d\n",
seq_printf(s, "%s (%s)%*s\t%lu\t%d\n",
names[i],
clocks[i]->name,
24 - strlen(names[i]) - strlen(clocks[i]->name),
"",
clk_get_rate(clocks[i]),
clocks[i]->usecount);
}
Expand Down

0 comments on commit 94e682c

Please sign in to comment.