summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a43287e)
raw | patch | inline | side by side (parent: a43287e)
author | Dave Gerlach <d-gerlach@ti.com> | |
Tue, 2 Jun 2015 15:54:17 +0000 (10:54 -0500) | ||
committer | Dave Gerlach <d-gerlach@ti.com> | |
Tue, 2 Jun 2015 19:47:24 +0000 (14:47 -0500) |
Certain hwmods, like gpmc on am437x, require a softreset in order for
them to go idle. Add a call to omap_hwmod_softreset in our _reidle path
so that hwmods that must be reidled will have a software reset performed
on them before attempting to actually idle them.
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
them to go idle. Add a call to omap_hwmod_softreset in our _reidle path
so that hwmods that must be reidled will have a software reset performed
on them before attempting to actually idle them.
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-omap2/omap_hwmod.c | patch | blob | history |
index f1d06ffcdea2eb980e646617142e0b2719228169..bfc92e92111c47eed2cccf28cb3dc36af189c78e 100644 (file)
pr_debug("omap_hwmod: %s: %s\n", oh->name, __func__);
omap_hwmod_enable(oh);
+ omap_hwmod_softreset(oh);
omap_hwmod_idle(oh);
}