Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298733
b: refs/heads/master
c: f9a2f9c
h: refs/heads/master
i:
  298731: 45b7c15
v: v3
  • Loading branch information
Rajendra Nayak authored and Paul Walmsley committed Apr 5, 2012
1 parent 0ddac58 commit 2a19794
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 2800852a079504f35f88e44faf5c9c96318c0cca
refs/heads/master: f9a2f9c3fa76eec55928e8e06f3094c8f01df7cb
14 changes: 2 additions & 12 deletions trunk/arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -1901,20 +1901,10 @@ void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs)
*/
int omap_hwmod_softreset(struct omap_hwmod *oh)
{
u32 v;
int ret;

if (!oh || !(oh->_sysc_cache))
if (!oh)
return -EINVAL;

v = oh->_sysc_cache;
ret = _set_softreset(oh, &v);
if (ret)
goto error;
_write_sysconfig(v, oh);

error:
return ret;
return _ocp_softreset(oh);
}

/**
Expand Down

0 comments on commit 2a19794

Please sign in to comment.