Skip to content

Commit 91a5773

Browse files
Roger QuadrosPaul Walmsley
authored andcommitted
ARM: DRA7: hwmod: fix gpmc hwmod
GPMC smart idle is not really broken but it does not support smart idle with wakeup. Fixes: 556708f ("ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken") Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
1 parent d770e55 commit 91a5773

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arch/arm/mach-omap2/omap_hwmod_7xx_data.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,7 @@ static struct omap_hwmod_class_sysconfig dra7xx_gpmc_sysc = {
827827
.syss_offs = 0x0014,
828828
.sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE |
829829
SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
830-
.idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART |
831-
SIDLE_SMART_WKUP),
830+
.idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
832831
.sysc_fields = &omap_hwmod_sysc_type1,
833832
};
834833

@@ -844,7 +843,7 @@ static struct omap_hwmod dra7xx_gpmc_hwmod = {
844843
.class = &dra7xx_gpmc_hwmod_class,
845844
.clkdm_name = "l3main1_clkdm",
846845
/* Skip reset for CONFIG_OMAP_GPMC_DEBUG for bootloader timings */
847-
.flags = HWMOD_SWSUP_SIDLE | DEBUG_OMAP_GPMC_HWMOD_FLAGS,
846+
.flags = DEBUG_OMAP_GPMC_HWMOD_FLAGS,
848847
.main_clk = "l3_iclk_div",
849848
.prcm = {
850849
.omap4 = {

0 commit comments

Comments
 (0)