commit | bd758d439fdcbb7d118ae0efc1b14bc18f182517 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Wed Sep 21 08:26:42 2022 +0200 |
committer | Stefan Roese <sr@denx.de> | Thu Oct 06 10:15:35 2022 +0200 |
tree | 98e7317469c0931ab67c309287572484ca23463e | |
parent | 4024823fce5e04620b0281b8076b5a76f4632184 [diff] |
timer: orion-timer: Only init timer once Move the code making sure that the timer is initialized only once into orion_timer_init(), which is called from timer_early_init() and from orion_timer_probe(). This way the timer is not re-initialized. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Michael Walle <michael@walle.cc> Cc: Pali Rohár <pali@kernel.org>