Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373583
b: refs/heads/master
c: 29258b2
h: refs/heads/master
i:
  373581: 53bcb8a
  373579: 3aa070e
  373575: 65629fa
  373567: e9d709d
v: v3
  • Loading branch information
Jingoo Han authored and Thierry Reding committed Mar 11, 2013
1 parent a299cc9 commit 37b8899
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c26e9bb4ac72312386dc8ffa4dc8c1b560d9b29b
refs/heads/master: 29258b215af83dbb4ad143cefe7a1e5d0384a605
2 changes: 2 additions & 0 deletions trunk/drivers/pwm/pwm-tiehrpwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ void ehrpwm_pwm_restore_context(struct ehrpwm_pwm_chip *pc)
ehrpwm_write(pc->mmio_base, TBCTL, pc->ctx.tbctl);
}

#ifdef CONFIG_PM_SLEEP
static int ehrpwm_pwm_suspend(struct device *dev)
{
struct ehrpwm_pwm_chip *pc = dev_get_drvdata(dev);
Expand Down Expand Up @@ -594,6 +595,7 @@ static int ehrpwm_pwm_resume(struct device *dev)
ehrpwm_pwm_restore_context(pc);
return 0;
}
#endif

static SIMPLE_DEV_PM_OPS(ehrpwm_pwm_pm_ops, ehrpwm_pwm_suspend,
ehrpwm_pwm_resume);
Expand Down

0 comments on commit 37b8899

Please sign in to comment.