clocksource/drivers/tegra: Reset hardware state on init
authorDmitry Osipenko <digetx@gmail.com>
Mon, 3 Jun 2019 18:59:41 +0000 (21:59 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 25 Jun 2019 17:49:18 +0000 (19:49 +0200)
commit77d57d1d8016696daaf5614c070ac01c9652f4ce
tree699922341a82a4f3191ff08f9f65f4022d151a89
parentaf8d9129eced348c699cca73b1c52e3855df063e
clocksource/drivers/tegra: Reset hardware state on init

Reset timer's hardware state to ensure that initially it is in a
predictable state.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-tegra20.c