Skip to contentSkip to conversation

timer fix

GIT PULL Ingo Molnar 1 participant 1 message Apr 23, 2016 Clocksource, clockevent drivers

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest timers-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus

# HEAD: 16eeed7e5558a3dcf30f75526a896b2632f299f9 clocksource/drivers/tango-xtal: Fix boot hang due to incorrect test

Fix a boot hang in the ARM based Tango SoC clocksource driver.

Thanks,

Ingo

------------------>
Daniel Lezcano (1):
clocksource/drivers/tango-xtal: Fix boot hang due to incorrect test

 drivers/clocksource/tango_xtal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clocksource/tango_xtal.c +1 -1
index 2bcecafdeaea..c407c47a3232 100644
@@ -42,7 +42,7 @@ static void __init tango_clocksource_init(struct device_node *np)
 
 	ret = clocksource_mmio_init(xtal_in_cnt, "tango-xtal", xtal_freq, 350,
 				    32, clocksource_mmio_readl_up);
-	if (!ret) {
+	if (ret) {
 		pr_err("%s: registration failed\n", np->full_name);
 		return;
 	}