bus: ti-sysc: Fix smartreflex sysc mask
authorTony Lindgren <tony@atomide.com>
Mon, 22 Jan 2018 17:32:53 +0000 (09:32 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Jan 2018 17:32:53 +0000 (09:32 -0800)
The enawakeup bit is in a different location for smartreflex compared
to the "ti,sysc-omap2" compatible.

Fixes: 70a65240efb1 ("bus: ti-sysc: Add register bits for interconnect
target modules")
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c

index 2c62985..4d46003 100644 (file)
@@ -816,7 +816,7 @@ static const struct sysc_regbits sysc_regbits_omap36xx_sr = {
 
 static const struct sysc_capabilities sysc_36xx_sr = {
        .type = TI_SYSC_OMAP36XX_SR,
-       .sysc_mask = SYSC_OMAP2_ENAWAKEUP,
+       .sysc_mask = SYSC_OMAP3_SR_ENAWAKEUP,
        .regbits = &sysc_regbits_omap36xx_sr,
        .mod_quirks = SYSC_QUIRK_UNCACHED,
 };