watchdog/sbsa: Use arch_timer_read_counter instead of arch_counter_get_cntvct
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 Apr 2019 15:49:02 +0000 (16:49 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 Apr 2019 15:09:27 +0000 (16:09 +0100)
commiteae1ddc615bef9e1a1958a4b867a0a1678049bb3
tree1b56fb017cbe01f7b6775bb29d1603177b6ffb89
parent1f5b62f09f6b314c8d70b9de5182dae4de1f94da
watchdog/sbsa: Use arch_timer_read_counter instead of arch_counter_get_cntvct

Only arch_timer_read_counter will guarantee that workarounds are
applied. So let's use this one instead of arch_counter_get_cntvct.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/watchdog/sbsa_gwdt.c