* [PATCH v2] ASoC: qcom: sc8280xp: configure codec sysclk for QCS615
@ 2026-08-10 3:10 Le Qi
2026-08-10 14:32 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Le Qi @ 2026-08-10 3:10 UTC (permalink / raw)
To: Srinivas Kandagatla, Liam Girdwood, Mark Brown, Jaroslav Kysela,
Takashi Iwai
Cc: linux-sound, linux-arm-msm, linux-kernel, kernel, Le Qi
Continuous high-amplitude noise could occur in the DA7213 microphone
capture path after a Bluetooth out-of-range/reset event followed by
reconnection. The noise was present in both the raw ALSA capture and
PipeWire input, confirming that it originated before Bluetooth
encoding.
The codec already obtains and enables MCLK through its DT clock and
bias-level handling. However, the machine driver did not explicitly
configure the codec sysclk during hw_params(). Enable
codec_sysclk_set for QCS615 so that the DA7213 clock source and rate
are configured before the codec power-up sequence.
Verified on QCS615 Talos with repeated Bluetooth disconnect and
reconnect cycles. The noise was no longer reproducible.
Signed-off-by: Le Qi <le.qi@oss.qualcomm.com>
---
v2:
- Drop the dependency note as the prerequisite changes are already present.
- Rebase onto current code and regenerate the patch.
sound/soc/qcom/sc8280xp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c
index 597c0d887d2f..913ae81be424 100644
--- a/sound/soc/qcom/sc8280xp.c
+++ b/sound/soc/qcom/sc8280xp.c
@@ -462,6 +462,7 @@ static const struct qcom_snd_soc_common qcs615_priv_data = {
.driver_name = "qcs615",
.dapm_widgets = sc8280xp_dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(sc8280xp_dapm_widgets),
+ .codec_sysclk_set = true,
};
static const struct qcom_snd_soc_common qcm6490_priv_data = {
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v2] ASoC: qcom: sc8280xp: configure codec sysclk for QCS615
2026-08-10 3:10 [PATCH v2] ASoC: qcom: sc8280xp: configure codec sysclk for QCS615 Le Qi
@ 2026-08-10 14:32 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-08-10 14:32 UTC (permalink / raw)
To: Srinivas Kandagatla, Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Le Qi
Cc: linux-sound, linux-arm-msm, linux-kernel, kernel
On Mon, 10 Aug 2026 11:10:32 +0800, Le Qi wrote:
> ASoC: qcom: sc8280xp: configure codec sysclk for QCS615
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3
Thanks!
[1/1] ASoC: qcom: sc8280xp: configure codec sysclk for QCS615
https://git.kernel.org/broonie/sound/c/530e344e4b7e
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-10 16:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 3:10 [PATCH v2] ASoC: qcom: sc8280xp: configure codec sysclk for QCS615 Le Qi
2026-08-10 14:32 ` Mark Brown
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®