From: "Rhodes, David" <drhodes@opensource.cirrus.com>
To: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>,
James Schulman <james.schulman@cirrus.com>,
David Rhodes <david.rhodes@cirrus.com>,
"Richard Fitzgerald" <rf@opensource.cirrus.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Liam Girdwood <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
Stefan Binding <sbinding@opensource.cirrus.com>,
Charles Keepax <ckeepax@opensource.cirrus.com>,
Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Cc: <alsa-devel@alsa-project.org>, <patches@opensource.cirrus.com>,
<linux-kernel@vger.kernel.org>, <kernel@collabora.com>
Subject: Re: [PATCH v2 04/11] ASoC: cs35l41: Fix broken shared boost activation
Date: Fri, 8 Sep 2023 10:15:02 -0500 [thread overview]
Message-ID: <45aef3e9-b6ee-ba26-32ac-ea72f41d1dcb@opensource.cirrus.com> (raw)
In-Reply-To: <20230907171010.1447274-5-cristian.ciocaltea@collabora.com>
On 9/7/23 12:10 PM, Cristian Ciocaltea wrote:
> Enabling the active/passive shared boosts requires setting SYNC_EN, but
> *not* before receiving the PLL Lock signal.
>
> Solve the issue by setting the SYNC_EN bit in PWR_CTRL3 register right
> after receiving the PLL Lock interrupt.
>
> Additionally, drop the unnecessary writes to PWR_CTRL1 register, part of
> the original mdsync_up_seq, which would have toggled GLOBAL_EN with
> unwanted consequences on PLL locking behavior.
>
> Fixes: f5030564938b ("ALSA: cs35l41: Add shared boost feature")
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
> ---
Looks good. If it's convenient to revise again, I think you could slim
down the comment section by simply stating that 'PLL Lock requires the
audio clocks to be active' (which is why it is not triggered until after
snd_pcm_start).
Reviewed-by: David Rhodes <david.rhodes@cirrus.com>
Thanks,
David
next prev parent reply other threads:[~2023-09-08 15:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-07 17:09 [PATCH v2 00/11] Improve CS35l41-based audio codec drivers Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 01/11] ASoC: cs35l41: Handle mdsync_down reg write errors Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 02/11] ASoC: cs35l41: Handle mdsync_up " Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 03/11] ASoC: cs35l41: Initialize completion object before requesting IRQ Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 04/11] ASoC: cs35l41: Fix broken shared boost activation Cristian Ciocaltea
2023-09-08 15:15 ` Rhodes, David [this message]
2023-09-07 17:10 ` [PATCH v2 05/11] ASoC: cs35l41: Verify PM runtime resume errors in IRQ handler Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 06/11] ASoC: cs35l41: Undo runtime PM changes at driver exit time Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 07/11] ASoC: cs35l41: Make use of dev_err_probe() Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 08/11] ASoC: cs35l41: Use modern pm_ops Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 09/11] ALSA: hda: cs35l41: Fix unbalanced pm_runtime_get() Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 10/11] ALSA: hda: cs35l41: Undo runtime PM changes at driver exit time Cristian Ciocaltea
2023-09-07 17:10 ` [PATCH v2 11/11] ALSA: hda: cs35l41: Consistently use dev_err_probe() Cristian Ciocaltea
2023-09-07 17:21 ` [PATCH v2 00/11] Improve CS35l41-based audio codec drivers Mark Brown
2023-09-07 17:27 ` Cristian Ciocaltea
2023-09-11 6:25 ` Takashi Iwai
2023-09-11 23:57 ` 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=45aef3e9-b6ee-ba26-32ac-ea72f41d1dcb@opensource.cirrus.com \
--to=drhodes@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=cristian.ciocaltea@collabora.com \
--cc=david.rhodes@cirrus.com \
--cc=james.schulman@cirrus.com \
--cc=kernel@collabora.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=rf@opensource.cirrus.com \
--cc=sbinding@opensource.cirrus.com \
--cc=tiwai@suse.com \
--cc=vitalyr@opensource.cirrus.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
all inboxes | Powered by JetHome®