Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258730
b: refs/heads/master
c: 6481c73
h: refs/heads/master
v: v3
  • Loading branch information
Miguel Vadillo authored and Paul Walmsley committed Jul 10, 2011
1 parent 4035709 commit 422466b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c614ebf6f73de8e6d0481c4b3b962b649166fee9
refs/heads/master: 6481c73c22613660a5b791d2b4d0faf60508d731
5 changes: 4 additions & 1 deletion trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,8 +1396,11 @@ static int _shutdown(struct omap_hwmod *oh)
}
}

if (oh->class->sysc)
if (oh->class->sysc) {
if (oh->_state == _HWMOD_STATE_IDLE)
_enable(oh);
_shutdown_sysc(oh);
}

/*
* If an IP contains only one HW reset line, then assert it
Expand Down

0 comments on commit 422466b

Please sign in to comment.