From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: shumingf@realtek.com, broonie@kernel.org, lgirdwood@gmail.com
Cc: linux-sound@vger.kernel.org, lars@metafoo.de, flove@realtek.com,
oder_chiou@realtek.com, jack.yu@realtek.com,
derek.fang@realtek.com
Subject: Re: [PATCH] ASoC: rt721: fix prepare clock stop failed
Date: Tue, 28 Oct 2025 11:44:03 +0530 [thread overview]
Message-ID: <c275a66a-66eb-4812-a59a-d84db9312c16@amd.com> (raw)
In-Reply-To: <20251027103333.38353-1-shumingf@realtek.com>
On 10/27/25 16:03, shumingf@realtek.com wrote:
> From: Shuming Fan <shumingf@realtek.com>
>
> This patch adds settings to prevent the 'prepare clock stop failed' error.
>
> Signed-off-by: Shuming Fan <shumingf@realtek.com>
Tested-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> ---
> sound/soc/codecs/rt721-sdca.c | 4 ++++
> sound/soc/codecs/rt721-sdca.h | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/sound/soc/codecs/rt721-sdca.c b/sound/soc/codecs/rt721-sdca.c
> index a4bd29d7220b..5f7b505d5414 100644
> --- a/sound/soc/codecs/rt721-sdca.c
> +++ b/sound/soc/codecs/rt721-sdca.c
> @@ -281,6 +281,10 @@ static void rt721_sdca_jack_preset(struct rt721_sdca_priv *rt721)
> rt_sdca_index_write(rt721->mbq_regmap, RT721_BOOST_CTRL,
> RT721_BST_4CH_TOP_GATING_CTRL1, 0x002a);
> regmap_write(rt721->regmap, 0x2f58, 0x07);
> +
> + regmap_write(rt721->regmap, 0x2f51, 0x00);
> + rt_sdca_index_write(rt721->mbq_regmap, RT721_HDA_SDCA_FLOAT,
> + RT721_MISC_CTL, 0x0004);
> }
>
> static void rt721_sdca_jack_init(struct rt721_sdca_priv *rt721)
> diff --git a/sound/soc/codecs/rt721-sdca.h b/sound/soc/codecs/rt721-sdca.h
> index 71fac9cd8739..24ce188562ba 100644
> --- a/sound/soc/codecs/rt721-sdca.h
> +++ b/sound/soc/codecs/rt721-sdca.h
> @@ -137,6 +137,7 @@ struct rt721_sdca_dmic_kctrl_priv {
> #define RT721_HDA_LEGACY_UAJ_CTL 0x02
> #define RT721_HDA_LEGACY_CTL1 0x05
> #define RT721_HDA_LEGACY_RESET_CTL 0x06
> +#define RT721_MISC_CTL 0x07
> #define RT721_XU_REL_CTRL 0x0c
> #define RT721_GE_REL_CTRL1 0x0d
> #define RT721_HDA_LEGACY_GPIO_WAKE_EN_CTL 0x0e
next prev parent reply other threads:[~2025-10-28 6:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 10:33 [PATCH] ASoC: rt721: fix prepare clock stop failed shumingf
2025-10-28 6:14 ` Mukunda,Vijendar [this message]
2025-10-28 11:17 ` 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=c275a66a-66eb-4812-a59a-d84db9312c16@amd.com \
--to=vijendar.mukunda@amd.com \
--cc=broonie@kernel.org \
--cc=derek.fang@realtek.com \
--cc=flove@realtek.com \
--cc=jack.yu@realtek.com \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=oder_chiou@realtek.com \
--cc=shumingf@realtek.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