From cf4ce59b3b70238352c7f1729f0f7223214828ad Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 20 Sep 2024 01:46:19 +0000 Subject: [PATCH] rtl88x2CE_WiFi_linux add concurrent mode --- kernel/sound/hda/hdac_device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sound/hda/hdac_device.c b/kernel/sound/hda/hdac_device.c index b7e5032..bfd8585 100644 --- a/kernel/sound/hda/hdac_device.c +++ b/kernel/sound/hda/hdac_device.c @@ -611,7 +611,7 @@ int snd_hdac_keep_power_up(struct hdac_device *codec) { if (!atomic_inc_not_zero(&codec->in_pm)) { - int ret = pm_runtime_get_if_in_use(&codec->dev); + int ret = pm_runtime_get_if_active(&codec->dev, true); if (!ret) return -1; if (ret < 0) -- Gitblit v1.6.2