From: Marc-André Lureau <[email protected]> Fixes: 280c1e1cd ("audio/hda: create millisecond timers that handle IO")
Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Akihiko Odaki <[email protected]> Message-ID: <[email protected]> (cherry picked from commit f27206ceedbe2efae37c8d143c5eb2db05251508) Signed-off-by: Michael Tokarev <[email protected]> diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c index 0f66754b6a..ce64b84f4e 100644 --- a/hw/audio/hda-codec.c +++ b/hw/audio/hda-codec.c @@ -748,7 +748,7 @@ static void hda_audio_exit(HDACodecDevice *hda) continue; } if (a->use_timer) { - timer_del(st->buft); + timer_free(st->buft); } if (st->output) { AUD_close_out(&a->card, st->voice.out); -- 2.39.5
