]> git.proxmox.com Git - mirror_qemu.git/commit
hw/timer/exynos4210_pwm.c: Switch to transaction-based ptimer API
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Oct 2019 17:17:33 +0000 (18:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:02 +0000 (18:09 +0100)
commitb1b104ed977177ad72573333b592314c5f626d56
tree18c6016f1f77704b255a3832272bf98798d3e354
parent6c27ee94f34fb17588dd850fd8f7870d3314338f
hw/timer/exynos4210_pwm.c: Switch to transaction-based ptimer API

Switch the exynos4210_pwm 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-15-peter.maydell@linaro.org
hw/timer/exynos4210_pwm.c