Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133333
b: refs/heads/master
c: 50cca71
h: refs/heads/master
i:
  133331: d5b3a05
v: v3
  • Loading branch information
Francesco VIRLINZI authored and Paul Mundt committed Mar 16, 2009
1 parent 6766b5b commit 6e81bb0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e9edb3fec2260b5a64e9ca9e09160b74f1b106e3
refs/heads/master: 50cca715a64b66ccf173767d94d4020ea0a6129c
4 changes: 3 additions & 1 deletion trunk/arch/sh/kernel/cpu/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,14 @@ static int clks_sysdev_suspend(struct sys_device *dev, pm_message_t state)
if (prev_state.event == PM_EVENT_FREEZE) {
list_for_each_entry(clkp, &clock_list, node)
if (likely(clkp->ops)) {
unsigned long rate = clkp->rate;

if (likely(clkp->ops->set_parent))
clkp->ops->set_parent(clkp,
clkp->parent);
if (likely(clkp->ops->set_rate))
clkp->ops->set_rate(clkp,
clkp->rate, NO_CHANGE);
rate, NO_CHANGE);
else if (likely(clkp->ops->recalc))
clkp->ops->recalc(clkp);
}
Expand Down

0 comments on commit 6e81bb0

Please sign in to comment.