- hw/arm/virt:Keep Guest L1 cache type consistent with KVM - cvm : Add support for TEE-based national encryption acceleration. - Add virtCCA Coda annotation Adjust the position of the security device - target/i386: sev: Add support for reuse ASID for different CSV guests - target/i386: sev: Fix incompatibility between SEV and CSV on the GET_ID API - hw/cxl: Ensure there is enough data for the header in cmd_ccls_set_lsa() - hw/pci: Add parenthesis to PCI_BUILD_BDF macro - hw/audio/hda: free timer on exit - meson.build: Remove ncurses workaround for OpenBSD - ui/console-vc: Silence warning about sprintf() on OpenBSD - ui: remove break after g_assert_not_reached() - s390x/sclp: Simplify get_sclp_device() - hw/vfio/hct: qemu startup terminate once error happened in hct - hw/vfio/hct: fix ccp_index error caused by uninitialized buf - hw/vfio/hct: update support ccp count to 48. - hw/vfio: add device hct based on vfio. Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com> (cherry picked from commit 702a9cc4e262a50f7aa6f7c9549fbc13d4cd0770)
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From 28bf94c86d3914b8b517dae483d1d69b3afabacc Mon Sep 17 00:00:00 2001
|
|
From: qihao_yewu <qihao_yewu@cmss.chinamobile.com>
|
|
Date: Tue, 5 Nov 2024 07:03:48 -0500
|
|
Subject: [PATCH] hw/audio/hda: free timer on exit
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
cheery-pick from f27206ceedbe2efae37c8d143c5eb2db05251508
|
|
|
|
Fixes: 280c1e1cd ("audio/hda: create millisecond timers that handle IO")
|
|
|
|
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
|
|
Message-ID: <20241008125028.1177932-2-marcandre.lureau@redhat.com>
|
|
Signed-off-by: qihao_yewu <qihao_yewu@cmss.chinamobile.com>
|
|
---
|
|
hw/audio/hda-codec.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c
|
|
index 0bc20d49f6..19f401cabe 100644
|
|
--- a/hw/audio/hda-codec.c
|
|
+++ b/hw/audio/hda-codec.c
|
|
@@ -751,7 +751,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.41.0.windows.1
|
|
|