You need to sign in or sign up before continuing.
提交 baa2607f 编写于 作者: K Kevin Hilman 提交者: Paul Walmsley

ARM: OMAP4: hwmod: drop extra cpu_is check from _wait_target_disable()

_omap4_wait_target_disable() is called only from inside _omap4_disable_module()
which is already protected by SoC specific checks.  Remove the cpu_is check
here.
Signed-off-by: NKevin Hilman <khilman@ti.com>
上级 9ebfd285
...@@ -823,9 +823,6 @@ static void _omap4_enable_module(struct omap_hwmod *oh) ...@@ -823,9 +823,6 @@ static void _omap4_enable_module(struct omap_hwmod *oh)
*/ */
static int _omap4_wait_target_disable(struct omap_hwmod *oh) static int _omap4_wait_target_disable(struct omap_hwmod *oh)
{ {
if (!cpu_is_omap44xx())
return 0;
if (!oh) if (!oh)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册