All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: David Cemin <dcemin@nvidia.com>
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
	linux-sound@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/acpi: add runtime PM suspend/resume to the ACPI controller
Date: Sun, 13 Sep 2026 09:09:51 +0200	[thread overview]
Message-ID: <87jyopwrsw.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260912182120.1156356-1-dcemin@nvidia.com>

On Sat, 12 Sep 2026 20:21:20 +0200,
David Cemin wrote:
> 
> The hda-acpi platform driver never enables runtime PM, so
> pm_runtime_force_suspend() in hda_acpi_suspend() skips the runtime
> callbacks. On resume the controller is therefore never re-initialised:
> azx_init_chip() is called only at probe time, so after S3 the codec
> verbs time out and audio is dead until the driver is rebound.
> 
> Add explicit runtime_suspend/runtime_resume callbacks and invoke them
> from the system-sleep paths, mirroring the pattern used by snd-hda-intel.
> Tested on an arm64 platform with the NVDA2014 controller: resume latency
> drops from 81.5 s to 3.6 s and audio is live immediately after wake.
> 
> Signed-off-by: David Cemin <dcemin@nvidia.com>

Applied to for-next branch.  Thanks.


Takashi

      reply	other threads:[~2026-09-13  7:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-12 18:21 [PATCH] ALSA: hda/acpi: add runtime PM suspend/resume to the ACPI controller David Cemin
2026-09-13  7:09 ` Takashi Iwai [this message]

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=87jyopwrsw.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=dcemin@nvidia.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.