Commit 6c608953 authored by Igor Pavlikevich's avatar Igor Pavlikevich Committed by Michael Tokarev
Browse files

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



TCO timer does not actually stop

Signed-off-by: default avatarIgor Pavlikevich <ipavlikevich@gmail.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 3d74ee7d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)