Guillaume Ranquet 4467b8bad2 clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
of_base->base can either be iomapped using of_io_request_and_map() or
of_iomap() depending whether or not an of_base->name has been set.

Thus check of_base->base against NULL as of_iomap() does not return a
PTR_ERR() in case of error.

Fixes: 9aea417afa6b ("clocksource/drivers/timer-of: Don't request the resource by name")
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
Link: https://lore.kernel.org/r/20220307172656.4836-1-granquet@baylibre.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2022-03-07 19:21:25 +01:00
..
2021-11-26 19:45:31 +01:00
2021-12-09 10:49:56 -08:00
2021-12-09 11:20:47 +09:00
2021-11-06 14:36:12 -07:00
2021-12-04 08:38:25 -08:00
2021-11-01 10:09:14 -07:00
2021-11-03 17:00:52 -07:00
2021-11-06 14:36:12 -07:00
2021-11-08 11:49:48 -08:00
2021-11-10 11:47:55 -08:00
2021-11-05 08:42:02 -07:00
2021-12-10 11:29:53 -08:00
2021-11-04 13:56:55 -07:00
2021-11-26 22:54:47 +01:00
2021-11-22 14:58:57 -08:00
2021-11-06 14:36:12 -07:00
2021-11-10 11:36:43 -08:00
2021-10-26 19:12:01 +02:00
2021-12-12 10:16:34 -08:00
2021-11-10 10:56:02 -08:00
2021-10-18 09:29:27 +02:00
2021-12-10 11:56:05 -08:00
2021-11-02 06:20:58 -07:00
2021-11-02 15:58:39 -07:00
2021-12-07 10:10:20 -08:00
2021-11-08 12:07:52 -08:00
2021-11-03 17:00:52 -07:00
2021-11-10 09:07:26 -08:00
2021-11-12 11:44:31 -08:00
2021-12-11 16:28:27 -08:00
2021-11-18 14:35:41 -08:00
2021-11-16 14:41:23 +01:00
2021-12-05 09:13:20 -08:00
2021-12-12 10:20:57 -08:00
2021-11-30 11:41:49 -07:00
2021-12-05 09:13:20 -08:00
2021-11-10 09:41:22 -08:00