Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235246
b: refs/heads/master
c: 4db4afb
h: refs/heads/master
v: v3
  • Loading branch information
Colin Cross committed Feb 21, 2011
1 parent 3c34fea commit 03faccf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 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: 310992ca4b994db8c869e1c0f32c004b7a196147
refs/heads/master: 4db4afb4df93425708ca19417921bcc6a6306476
6 changes: 2 additions & 4 deletions trunk/arch/arm/mach-tegra/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void clk_init(struct clk *c)

if (!c->ops || !c->ops->enable) {
c->refcnt++;
c->set = 1;
c->set = true;
if (c->parent)
c->state = c->parent->state;
else
Expand Down Expand Up @@ -169,9 +169,7 @@ int clk_enable(struct clk *c)
goto out;
}
c->state = ON;
#ifdef CONFIG_DEBUG_FS
c->set = 1;
#endif
c->set = true;
}
}
c->refcnt++;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-tegra/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ struct clk {

#ifdef CONFIG_DEBUG_FS
struct dentry *dent;
bool set;
#endif
bool set;
struct clk_ops *ops;
unsigned long rate;
unsigned long max_rate;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mach-tegra/tegra2_clocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,9 +1218,7 @@ static void tegra_clk_shared_bus_init(struct clk *c)
c->max_rate = c->parent->max_rate;
c->u.shared_bus_user.rate = c->parent->max_rate;
c->state = OFF;
#ifdef CONFIG_DEBUG_FS
c->set = true;
#endif

spin_lock_irqsave(&c->parent->spinlock, flags);

Expand Down

0 comments on commit 03faccf

Please sign in to comment.