hw/timer/allwinner-a10-pit.c: Switch to transaction-based ptimer API
commit827c421492cb414f1d388442e2a4deb6e971fc8a
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Oct 2019 17:17:25 +0000 (8 18:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:02 +0000 (15 18:09 +0100)
tree5f798ed375526cfb5f55db0d6c1ff14eadb830bf
parentd8052a2e2d39660ba657af83cf079b1fe812c163
hw/timer/allwinner-a10-pit.c: Switch to transaction-based ptimer API

Switch the allwinner-a10-pit code away from bottom-half based ptimers to
the new transaction-based ptimer API.  This just requires adding
begin/commit calls around the various places that modify the ptimer
state, and using the new ptimer_init() function to create the timer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-7-peter.maydell@linaro.org
hw/timer/allwinner-a10-pit.c