Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373581
b: refs/heads/master
c: b78f5fc
h: refs/heads/master
i:
  373579: 3aa070e
v: v3
  • Loading branch information
Jingoo Han authored and Thierry Reding committed Mar 11, 2013
1 parent b92db42 commit 53bcb8a
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: c509a8e521939ca1fd4ba31feca4718328044230
refs/heads/master: b78f5fc92a836259b69d49129c6c1cad9b03c322
2 changes: 2 additions & 0 deletions trunk/drivers/pwm/pwm-tiecap.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ void ecap_pwm_restore_context(struct ecap_pwm_chip *pc)
writew(pc->ctx.ecctl2, pc->mmio_base + ECCTL2);
}

#ifdef CONFIG_PM_SLEEP
static int ecap_pwm_suspend(struct device *dev)
{
struct ecap_pwm_chip *pc = dev_get_drvdata(dev);
Expand All @@ -337,6 +338,7 @@ static int ecap_pwm_resume(struct device *dev)
ecap_pwm_restore_context(pc);
return 0;
}
#endif

static SIMPLE_DEV_PM_OPS(ecap_pwm_pm_ops, ecap_pwm_suspend, ecap_pwm_resume);

Expand Down

0 comments on commit 53bcb8a

Please sign in to comment.