clocksource/drivers/timer-ti-dm: Fix finding alwon timer
authorTony Lindgren <tony@atomide.com>
Wed, 12 Apr 2023 06:41:41 +0000 (09:41 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 24 Apr 2023 14:56:14 +0000 (16:56 +0200)
commit8d7aac5153f21108365137b76e395dcf9bb3a800
tree0f728c74aa919b4fc3c45b1cfbc15d7999864c49
parentfb73556386e074e9bee9fa2d253aeaefe4e063e0
clocksource/drivers/timer-ti-dm: Fix finding alwon timer

Clean-up commit b6999fa1c847 ("clocksource/drivers/timer-ti-dm: Use
of_address_to_resource()") caused a regression where pa is never set
making all related SoCs fail to boot. Let's fix this by setting pa
if found.

Fixes: b6999fa1c847 ("clocksource/drivers/timer-ti-dm: Use of_address_to_resource()")
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230412064142.12726-1-tony@atomide.com
drivers/clocksource/timer-ti-dm-systimer.c