hw/acpi/tco.c: fix tco timer stop

TCO timer does not actually stop

Signed-off-by: Igor Pavlikevich <ipavlikevich@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Igor Pavlikevich 2017-02-06 17:44:55 +03:00 committed by Michael Tokarev
parent 3d74ee7dca
commit 6c608953a5

View File

@ -49,6 +49,7 @@ static inline void tco_timer_reload(TCOIORegs *tr)
static inline void tco_timer_stop(TCOIORegs *tr)
{
tr->expire_time = -1;
timer_del(tr->tco_timer);
}
static void tco_timer_expired(void *opaque)