From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Cc: broonie@kernel.org, Bard Liao <yung-chuan.liao@linux.intel.com>,
lgirdwood@gmail.com, rafael@kernel.org, linux-pm@vger.kernel.org,
linux-sound@vger.kernel.org, patches@opensource.cirrus.com
Subject: Re: [PATCH] ASoC: SDCA: Add NO_DIRECT_COMPLETE flag to class driver
Date: Wed, 21 Jan 2026 13:05:06 +0000 [thread overview]
Message-ID: <aXDPAjgEgHvrezVz@opensource.cirrus.com> (raw)
In-Reply-To: <74596131-4d06-449e-8ba9-30b35e0e2064@linux.dev>
On Wed, Jan 21, 2026 at 01:41:31PM +0100, Pierre-Louis Bossart wrote:
> >> Going back to this SDCA driver, if the PM core does NOT
> >> change the pm_runtime state, then should the class driver
> >> perform a full pm_runtime resume and then do the expected
> >> system suspend sequence?
> >
> > Yeah we do perform a resume in the system suspend although to be
> > honest its mostly just to force the pm_runtime_force_resume() in
> > the system resume handler to always do a runtime resume.
>
> I think we are talking about different actions...
>
> a) pm_runtime resume BEFORE system suspend. That would be
> necessary to deal with e.g. clock stop modes that are valid in
> pm_runtime suspend but not system suspend. It's not clear to me
> for example if all SDCA chips will support direct transitions
> from PS3 to PS4, or be ok with power rails cut while in PS3.
I mean I think this is currently handled at the soundwire level,
since the soundwire bus runtime resumes all children for system
suspend.
> You lost me with this sentence:
>
> "
> For SoundWire itself the soundwire host resumes all children
> before a suspend, which dodges the direct complete.
> "
>
> If the direct-complete optimization is not used, then do you
> actually see a different behavior with this NO_DIRECT_COMPLETE
> flag set?
The flag is applied to the auxiliary device children of the
soundwire device. The direct complete doesn't affect the
soundwire device, but it it does affect the function devices
children.
Thanks,
Charles
next prev parent reply other threads:[~2026-01-21 13:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 13:17 [PATCH] ASoC: SDCA: Add NO_DIRECT_COMPLETE flag to class driver Charles Keepax
2026-01-20 16:50 ` Pierre-Louis Bossart
2026-01-20 17:45 ` Charles Keepax
2026-01-21 12:41 ` Pierre-Louis Bossart
2026-01-21 13:05 ` Charles Keepax [this message]
2026-01-21 15:08 ` Pierre-Louis Bossart
2026-01-22 13:26 ` Mark Brown
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=aXDPAjgEgHvrezVz@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=rafael@kernel.org \
--cc=yung-chuan.liao@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox