ASoC: rt721: fix prepare clock stop failed
Subsystems (3)
PATCH 1/1 ASoC: rt721: fix prepare clock stop failed
From: Shuming Fan <[email protected]>
This patch adds settings to prevent the 'prepare clock stop failed' error.
--- sound/soc/codecs/rt721-sdca.c | 4 ++++ sound/soc/codecs/rt721-sdca.h | 1 + 2 files changed, 5 insertions(+)
sound/soc/codecs/rt721-sdca.c +4 -0
@@ -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)
sound/soc/codecs/rt721-sdca.h +1 -0
@@ -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
Signature · 1 line
2.51.1
Quoted 5 lines · On 10/27/25 16:03, [email protected] wrote:
From: Shuming Fan <[email protected]>
This patch adds settings to prevent the 'prepare clock stop failed' error.
Signed-off-by Shuming Fan <[email protected]>
Quoted 32 lines
--- sound/soc/codecs/rt721-sdca.c | 4 ++++ sound/soc/codecs/rt721-sdca.h | 1 + 2 files changed, 5 insertions(+)sound/soc/codecs/rt721-sdca.c +4
-0@@ -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)sound/soc/codecs/rt721-sdca.h +1
-0@@ -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
Mark Brown
maintainerQuoted 3 lines · On Mon, 27 Oct 2025 18:33:33 +0800, [email protected] wrote:
This patch adds settings to prevent the 'prepare clock stop failed' error.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: rt721: fix prepare clock stop failed
commit: d914ec6f07548f7c13a231a4f526e043e736e82e
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark