OMAP: hwmod: Set autoidle after smartidle during _sysc_enable
authorHema HK <hemahk@ti.com>
Fri, 24 Sep 2010 16:23:19 +0000 (10:23 -0600)
committerPaul Walmsley <paul@pwsan.com>
Fri, 24 Sep 2010 16:23:19 +0000 (10:23 -0600)
commit78f26e872f77b6312273216de1a8f836c6f2e143
tree905ce78ac51bf4ef1adc405782d88945c8eeb1d2
parentff173d45525701d65d394cb8687e71845bfb34dc
OMAP: hwmod: Set autoidle after smartidle during _sysc_enable

OMAP USBOTG module has a requirement to set the autoidle bit only after
setting smartidle bit. Modified the _sys_enable api to set the smartidle
first and then the autoidle bit. Setting this will not have any impact on the
other modules.

Signed-off-by: Hema HK <hemahk@ti.com>
Signed-off-by: Partha Basak <p-basak2@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c