]> git.hungrycats.org Git - linux/commit
ASoC: qcom: sc8280xp: configure codec sysclk for QCS615
authorLe Qi <le.qi@oss.qualcomm.com>
Mon, 10 Aug 2026 03:10:32 +0000 (11:10 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 10 Aug 2026 14:31:57 +0000 (15:31 +0100)
commit530e344e4b7ebaef88b845c3a2413a114f517d79
tree7ab72c7940d870b4c07194776060519575e40636
parent82b6d37621b00ffbf32552b822d1a339fcf20d86
ASoC: qcom: sc8280xp: configure codec sysclk for QCS615

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>
Link: https://patch.msgid.link/20260810031032.2001053-1-le.qi@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sc8280xp.c