]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/tango-xtal: Fix boot hang due to incorrect test
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 19 Apr 2016 13:43:02 +0000 (15:43 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 22 Apr 2016 07:22:37 +0000 (09:22 +0200)
commit9322c06a0b78f9964eeed65c3882514e5e898433
tree87ab659763bf773a14b4c71eae22a63905c5c9ec
parent9f2d78ff4b5d6c70ff0ad4e33408ee7dde0c6d5f
clocksource/drivers/tango-xtal: Fix boot hang due to incorrect test

Commit a7ba78c1227d introduced a regression by inverting a test check
after calling clocksource_mmio_init(). That results on the system to
hang at boot time.

Fix it by inverting the test again.

Fixes: a7ba78c1227d ("Replace code by clocksource_mmio_init")
Reported-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/tango_xtal.c