Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216847
b: refs/heads/master
c: 3827f94
h: refs/heads/master
i:
  216845: e5b0dff
  216843: 1fe8838
  216839: 1a4c998
  216831: 7516913
v: v3
  • Loading branch information
Benoit Cousson authored and Paul Walmsley committed Sep 21, 2010
1 parent 0eeb583 commit aa5487b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 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: 9ee9fff92e02e8c5f84794b3a5ce47646c2dfc39
refs/heads/master: 3827f9492bdff045ae57fe67e65ce7e259ed4219
10 changes: 7 additions & 3 deletions trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,9 +982,13 @@ static int _shutdown(struct omap_hwmod *oh)

if (oh->class->sysc)
_sysc_shutdown(oh);
_del_initiator_dep(oh, mpu_oh);
/* XXX what about the other system initiators here? DMA, tesla, d2d */
_disable_clocks(oh);

/* clocks and deps are already disabled in idle */
if (oh->_state == _HWMOD_STATE_ENABLED) {
_del_initiator_dep(oh, mpu_oh);
/* XXX what about the other system initiators here? dma, dsp */
_disable_clocks(oh);
}
/* XXX Should this code also force-disable the optional clocks? */

/* XXX mux any associated balls to safe mode */
Expand Down

0 comments on commit aa5487b

Please sign in to comment.