Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331295
b: refs/heads/master
c: 2b026d1
h: refs/heads/master
i:
  331293: bc26f71
  331291: fa4d717
  331287: b5222a6
  331279: b1c7008
  331263: c160b4a
v: v3
  • Loading branch information
Paul Walmsley committed Sep 23, 2012
1 parent 07a2c5a commit 7ec8ae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 8bb9fde2396b6cd205f404ef6d2aa46eb5b0af26
refs/heads/master: 2b026d137b13047d01d426a61e2d50b5dcb58fd0
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,10 +927,10 @@ static void _am33xx_enable_module(struct omap_hwmod *oh)
*/
static int _omap4_wait_target_disable(struct omap_hwmod *oh)
{
if (!oh || !oh->clkdm)
if (!oh)
return -EINVAL;

if (oh->_int_flags & _HWMOD_NO_MPU_PORT)
if (oh->_int_flags & _HWMOD_NO_MPU_PORT || !oh->clkdm)
return 0;

if (oh->flags & HWMOD_NO_IDLEST)
Expand Down Expand Up @@ -2635,10 +2635,10 @@ static int _omap2_wait_target_ready(struct omap_hwmod *oh)
*/
static int _omap4_wait_target_ready(struct omap_hwmod *oh)
{
if (!oh || !oh->clkdm)
if (!oh)
return -EINVAL;

if (oh->flags & HWMOD_NO_IDLEST)
if (oh->flags & HWMOD_NO_IDLEST || !oh->clkdm)
return 0;

if (!_find_mpu_rt_port(oh))
Expand Down

0 comments on commit 7ec8ae9

Please sign in to comment.