Skip to content

Commit 2787ca0

Browse files
elmarcoMichael Tokarev
authored andcommitted
hw/audio/hda: free timer on exit
Fixes: 280c1e1 ("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 f27206c) Signed-off-by: Michael Tokarev <[email protected]>
1 parent 10e3edd commit 2787ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/audio/hda-codec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ static void hda_audio_exit(HDACodecDevice *hda)
751751
continue;
752752
}
753753
if (a->use_timer) {
754-
timer_del(st->buft);
754+
timer_free(st->buft);
755755
}
756756
if (st->output) {
757757
AUD_close_out(&a->card, st->voice.out);

0 commit comments

Comments
 (0)