Apparently we need to explicitly stop the timers before reloading them. At
authorkettenis <kettenis@openbsd.org>
Mon, 18 Jul 2016 19:22:45 +0000 (19:22 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 18 Jul 2016 19:22:45 +0000 (19:22 +0000)
commit1526eed6f62fa940a362ea27c3c3e57dd34d6e5c
tree6a3c49ee20a88078891d60b1392cbeb21a129c42
parentd3c439a21bf0af94274d2c7abc350418b2248861
Apparently we need to explicitly stop the timers before reloading them.  At
least this is what Linux does and it fixes a hang on the Olimex A10s boards.
While there, also preserve the clock selection when reloading the timer.

ok patrick@, jsg@, tom@
sys/arch/armv7/sunxi/sxitimer.c