[PATCH v1] ASoC: tas2783-sdw: ensure PM runtime active to fix no sound issue
From: Baojun Xu
Date: Sun Nov 29 2026 - 19:10:03 EST
Fix an issue where sound output fails after multiple reboots.
The driver now explicitly ensures the device is in PM runtime active state
during initialization/resume to prevent the codec from remaining in a
low-power state..
Signed-off-by: Baojun Xu <baojun.xu@xxxxxx>
---
sound/soc/codecs/tas2783-sdw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
index 08b37e7b3a9e..86c1fb153abd 100644
--- a/sound/soc/codecs/tas2783-sdw.c
+++ b/sound/soc/codecs/tas2783-sdw.c
@@ -1105,7 +1105,7 @@ static s32 tas_init(struct tas2783_prv *tas_dev)
pm_runtime_set_autosuspend_delay(tas_dev->dev, 3000);
pm_runtime_use_autosuspend(tas_dev->dev);
/* make sure the device does not suspend immediately */
- pm_runtime_mark_last_busy(tas_dev->dev);
+ pm_runtime_set_active(tas_dev->dev);
pm_runtime_enable(tas_dev->dev);
return ret;
--
2.25.1