OSDN Git Service

clocksource/drivers/owl: Improve owl_timer_init fail messages
authorMatheus Castello <matheus@castello.eng.br>
Wed, 19 Feb 2020 00:48:10 +0000 (21:48 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 27 Feb 2020 08:42:00 +0000 (09:42 +0100)
commitad1ded9d2e3d1eb452ff58d325aadf237e187bd9
tree0917a4f1d8177a8a6838bbbf245f3a981dfac889
parentca7b72b5a5f248b72c88441a93bdcee22f42b9b3
clocksource/drivers/owl: Improve owl_timer_init fail messages

Check the return from clocksource_mmio_init, add messages in case of
an error and in case of not having a defined clock property.

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200219004810.411190-1-matheus@castello.eng.br
drivers/clocksource/timer-owl.c