Skip to contentSkip to conversation

ASoC: rt722: reinitialize rt722_sdca_jack_init() after reset

PATCH In review [email protected] 2 participants 2 messages Jul 31

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: rt722: reinitialize rt722_sdca_jack_init() after reset

From: Shuming Fan <[email protected]>

Check whether the .set_jack callback has already been invoked before the reset. If so, call rt722_sdca_jack_init() again to restore the jack settings.

---
 sound/soc/codecs/rt722-sdca.c | 3 +++
 1 file changed, 3 insertions(+)
sound/soc/codecs/rt722-sdca.c +3 -0
index a26253864d48..27bb0eb1ece7 100644
@@ -1906,6 +1906,9 @@ int rt722_sdca_io_init(struct device *dev, struct sdw_slave *slave)
 	rt722_sdca_amp_preset(rt722);
 	rt722_sdca_jack_preset(rt722);
 
+	if (rt722->hs_jack && (!rt722->first_hw_init))
+		rt722_sdca_jack_init(rt722);
+
 	if (rt722->first_hw_init) {
 		regcache_cache_bypass(rt722->regmap, false);
 		regcache_mark_dirty(rt722->regmap);
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 1 line · On Fri, 31 Jul 2026 16:41:14 +0800, [email protected] wrote:

ASoC: rt722: reinitialize rt722_sdca_jack_init() after reset

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/1] ASoC: rt722: reinitialize rt722_sdca_jack_init() after reset

      https://git.kernel.org/broonie/sound/c/74a66323e148

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