Browse Source

ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken

This patch fixes: 'omap_hwmod: gpmc: _wait_target_disable failed'
error during suspend.

This is because smart idle is broken.
Tested in dra7-evm D1 board.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Keerthy 10 years ago
parent
commit
556708fe87
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/arm/mach-omap2/omap_hwmod_7xx_data.c

+ 2 - 1
arch/arm/mach-omap2/omap_hwmod_7xx_data.c

@@ -819,7 +819,8 @@ static struct omap_hwmod dra7xx_gpmc_hwmod = {
 	.name		= "gpmc",
 	.name		= "gpmc",
 	.class		= &dra7xx_gpmc_hwmod_class,
 	.class		= &dra7xx_gpmc_hwmod_class,
 	.clkdm_name	= "l3main1_clkdm",
 	.clkdm_name	= "l3main1_clkdm",
-	.flags		= HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET,
+	.flags		= (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET |
+			   HWMOD_SWSUP_SIDLE),
 	.main_clk	= "l3_iclk_div",
 	.main_clk	= "l3_iclk_div",
 	.prcm = {
 	.prcm = {
 		.omap4 = {
 		.omap4 = {