Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Demeter Barna <me@fromdisposition.org>
To: Val Packett <val@packett.cool>
Cc: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>,
	Srinivas Kandagatla <srini@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	Bhushan Shah <bhushan.shah@machinesoul.in>,
	Luca Weiss <luca.weiss@fairphone.com>,
	Antoine Bernard <zalnir@proton.me>,
	~postmarketos/upstreaming@lists.sr.ht,
	phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 5/6] ASoC: qcom: sm8250: shut down MI2S/TDM AFE port clocks
Date: Fri, 27 Nov 2026 12:52:24 +0000	[thread overview]
Message-ID: <6929a7cdb1b48a5edb057669ed5ea5aa@fromdisposition.org> (raw)
In-Reply-To: <f090337e-e817-41d3-8fc6-0c64cd71fba4@packett.cool>

On 2026-05-07 20:44, Val Packett wrote:
> On 5/7/26 5:57 AM, Srinivas Kandagatla wrote:
>> In your setup are you sharing BE dais to multiple FE?
>> 
>> if not you would really not need the count, startup and shutdown are
>> paired for single PCM stream.

SM8350 has the same problem (speakers on PRIMARY_MI2S_RX). Without
turning the clock off, the ADSP never sleeps again after the first
sound: 0.0 s of 30 s idle. With a .shutdown that sets the same IBIT
clock to 0, it sleeps 29.7 s of 30 s.

I tested it without the counters, and that works here.

If there is a v3, I am happy to test it on SM8350.

  reply	other threads:[~2026-11-27 12:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06 20:33 [PATCH v2 0/6] ASoC: qcom: fixes and improvements Val Packett
2026-05-06 20:33 ` [PATCH v2 1/6] ASoC: qcom: qdsp6: q6afe: fix clk vote response type mismatch Val Packett
2026-05-07  0:02   ` Mark Brown
2026-05-07  1:46     ` Val Packett
2026-05-07  2:16       ` Mark Brown
2026-05-07  8:03         ` Konrad Dybcio
2026-05-07  8:23           ` Mark Brown
2026-05-06 20:33 ` [PATCH v2 2/6] ASoC: qcom: qdsp6: q6routing: add Senary MI2S ports Val Packett
2026-05-07  8:31   ` Srinivas Kandagatla
2026-05-06 20:33 ` [PATCH v2 3/6] ASoC: qcom: sm8250: add Senary MI2S RX support Val Packett
2026-05-07  8:34   ` Srinivas Kandagatla
2026-05-06 20:33 ` [PATCH v2 4/6] ASoC: qcom: sm8250: add TDM " Val Packett
2026-05-07  8:51   ` Srinivas Kandagatla
2026-05-07 20:24     ` Val Packett
2026-05-06 20:33 ` [PATCH v2 5/6] ASoC: qcom: sm8250: shut down MI2S/TDM AFE port clocks Val Packett
2026-05-07  8:57   ` Srinivas Kandagatla
2026-05-07 20:44     ` Val Packett
2026-11-27 12:52       ` Demeter Barna [this message]
2026-05-06 20:33 ` [PATCH v2 6/6] ASoC: qcom: sm8250: apply codec_fmt to all codec DAIs Val Packett
2026-05-07  9:02   ` Srinivas Kandagatla

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=6929a7cdb1b48a5edb057669ed5ea5aa@fromdisposition.org \
    --to=me@fromdisposition.org \
    --cc=bhushan.shah@machinesoul.in \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=luca.weiss@fairphone.com \
    --cc=perex@perex.cz \
    --cc=phone-devel@vger.kernel.org \
    --cc=srini@kernel.org \
    --cc=srinivas.kandagatla@oss.qualcomm.com \
    --cc=tiwai@suse.com \
    --cc=val@packett.cool \
    --cc=zalnir@proton.me \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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