mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Baojun Xu <baojun.xu@ti.com>
To: <broonie@kernel.org>
Cc: <tiwai@suse.de>, <andriy.shevchenko@linux.intel.com>,
	<13916275206@139.com>, <alsa-devel@alsa-project.org>,
	<shenghao-ding@ti.com>, <baojun.xu@ti.com>,
	<linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<k-yi@ti.com>, <henry.lo@ti.com>, <robinchen@ti.com>,
	<niranjan.hy@ti.com>, <pin-hao.huang@hp.com>,
	<Syed.SabaKareem@amd.com>
Subject: [PATCH v1] ASoC: tas2783-sdw: ensure PM runtime active to fix no sound issue
Date: Mon, 30 Nov 2026 08:09:12 +0800	[thread overview]
Message-ID: <20261130000912.492-1-baojun.xu@ti.com> (raw)

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@ti.com>
---
 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


                 reply	other threads:[~2026-11-30  0:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130000912.492-1-baojun.xu@ti.com \
    --to=baojun.xu@ti.com \
    --cc=13916275206@139.com \
    --cc=Syed.SabaKareem@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=henry.lo@ti.com \
    --cc=k-yi@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=niranjan.hy@ti.com \
    --cc=pin-hao.huang@hp.com \
    --cc=robinchen@ti.com \
    --cc=shenghao-ding@ti.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®