Skip to contentSkip to conversation

sh: R-Standby CMT timer resume order workaround

PATCH New Magnus Damm 1 participant 1 message Oct 14, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 7/7 sh: R-Standby CMT timer resume order workaround

From: Magnus Damm <[email protected]>

Disable the CMT clocksource to work around a resume order issue with non-sysdev timers. Without this hack the clocksource is read before being resumed.

---

 arch/sh/kernel/cpu/sh4a/setup-sh7724.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/cpu/sh4a/setup-sh7724.c +1 -1
@@ -261,7 +261,7 @@ static struct sh_timer_config cmt_platfo
 	.timer_bit = 5,
 	.clk = "cmt0",
 	.clockevent_rating = 125,
-	.clocksource_rating = 200,
+	//.clocksource_rating = 200,
 };
 
 static struct resource cmt_resources[] = {