Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235239
b: refs/heads/master
c: f035530
h: refs/heads/master
i:
  235237: 3d41a6b
  235235: 617eef1
  235231: 632b140
v: v3
  • Loading branch information
Colin Cross committed Feb 21, 2011
1 parent 311bf36 commit dc30298
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 35c47c3bbaa82b046d645aed2b709ce12ef0e25e
refs/heads/master: f035530b799a9c945415ad2139bb6494b542639a
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-tegra/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@ void clk_init(struct clk *c)
if (c->ops && c->ops->init)
c->ops->init(c);

if (!c->ops || !c->ops->enable) {
c->refcnt++;
c->set = 1;
if (c->parent)
c->state = c->parent->state;
else
c->state = ON;
}

clk_recalculate_rate(c);

list_add(&c->node, &clocks);
Expand Down

0 comments on commit dc30298

Please sign in to comment.