]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/timer/imx_epit: fix limit check
authorAxel Heider <axel.heider@hensoldt.net>
Thu, 20 Apr 2023 09:21:14 +0000 (10:21 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 27 Apr 2023 05:51:16 +0000 (08:51 +0300)
commit134a1a33207723bf0adc35e2272b6a147484d4b8
tree1fcbefea0d1b315c1ca753a106593af84fb0580d
parentac7f07ebc8facf0c96905db8b6b6a453b284edfb
hw/timer/imx_epit: fix limit check

Fix the limit check. If the limit is less than the compare value,
the timer can never reach this value, thus it will never fire.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1491
Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
Message-id: 168070611775.20412.2883242077302841473-2@git.sr.ht
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 25d758175dfbfd53e02b4a52ac68cbd6eb05f648)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/timer/imx_epit.c