Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175627
b: refs/heads/master
c: b835d01
h: refs/heads/master
i:
  175625: ede4bbb
  175623: 44d3a47
v: v3
  • Loading branch information
Paul Walmsley authored and paul committed Dec 12, 2009
1 parent 68adc45 commit 7495f13
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 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: 6f8b7ff5b01e16a65c3b17865ce047faeca40907
refs/heads/master: b835d0142196466c5ff3695b90cff1e3ea635c8e
18 changes: 13 additions & 5 deletions trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,19 @@ static int _setup(struct omap_hwmod *oh)

_enable(oh);

if (!(oh->flags & HWMOD_INIT_NO_RESET))
_reset(oh);

/* XXX OCP AUTOIDLE bit? */
/* XXX OCP ENAWAKEUP bit? */
if (!(oh->flags & HWMOD_INIT_NO_RESET)) {
/*
* XXX Do the OCP_SYSCONFIG bits need to be
* reprogrammed after a reset? If not, then this can
* be removed. If they do, then probably the
* _enable() function should be split to avoid the
* rewrite of the OCP_SYSCONFIG register.
*/
if (oh->sysconfig) {
_update_sysc_cache(oh);
_sysc_enable(oh);
}
}

if (!(oh->flags & HWMOD_INIT_NO_IDLE))
_idle(oh);
Expand Down

0 comments on commit 7495f13

Please sign in to comment.