Skip to contentSkip to conversation

bus: ti-sysc: Fix smartreflex sysc mask

PATCH New Tony Lindgren 1 participant 1 message Jan 22, 2018 OMAP2+ support

lore
Share & tools
lore

Tony Lindgren

author maintainer
#0 lore raw

PATCH 1/1 bus: ti-sysc: Fix smartreflex sysc mask

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")

---
 drivers/bus/ti-sysc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/ti-sysc.c +1 -1
@@ -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,
 };
Signature · 1 line
2.16.0