diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index fac4aec..802cc58 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -152,6 +152,7 @@ #include "prm44xx.h" #include "mux.h" #include "pm.h" +#include "board-tuna.h" /* Maximum microseconds to wait for OMAP module to softreset */ #define MAX_MODULE_SOFTRESET_WAIT 10000 @@ -855,6 +856,9 @@ static void _idle_sysc(struct omap_hwmod *oh) if (sf & SYSC_HAS_SIDLEMODE) { idlemode = (oh->flags & HWMOD_SWSUP_SIDLE) ? HWMOD_IDLEMODE_FORCE : HWMOD_IDLEMODE_SMART; + if (!strcmp(oh->name, "usbhs_uhh") && + TUNA_TYPE_TORO == omap4_tuna_get_type()) + idlemode = HWMOD_IDLEMODE_SMART; _set_slave_idlemode(oh, idlemode, &v); } @@ -869,6 +873,9 @@ static void _idle_sysc(struct omap_hwmod *oh) else idlemode = HWMOD_IDLEMODE_SMART; } + if (!strcmp(oh->name, "usbhs_uhh") && + TUNA_TYPE_TORO == omap4_tuna_get_type()) + idlemode = HWMOD_IDLEMODE_SMART; _set_master_standbymode(oh, idlemode, &v); } |