Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179767
b: refs/heads/master
c: 61b17d9
h: refs/heads/master
i:
  179765: a6958f1
  179763: 15a50d3
  179759: 0a9103f
v: v3
  • Loading branch information
Roel Kluin authored and Kevin Hilman committed Jan 21, 2010
1 parent be3a362 commit f22d70e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: e3d9329640e4b291cdd2c6d178774c28bba47d59
refs/heads/master: 61b17d972f60fb8097592cadee2a2dd594285ff6
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-omap2/pm-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,11 @@ int pm_dbg_regset_init(int reg_set)

static int pwrdm_suspend_get(void *data, u64 *val)
{
*val = omap3_pm_get_suspend_state((struct powerdomain *)data);
int ret;
ret = omap3_pm_get_suspend_state((struct powerdomain *)data);
*val = ret;

if (*val >= 0)
if (ret >= 0)
return 0;
return *val;
}
Expand Down

0 comments on commit f22d70e

Please sign in to comment.