All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] ASoC: qcom: q6dsp and lpass codec stablity fixes
@ 2023-02-09 12:27 ` Srinivas Kandagatla
  0 siblings, 0 replies; 26+ messages in thread
From: Srinivas Kandagatla @ 2023-02-09 12:27 UTC (permalink / raw)
  To: broonie
  Cc: lgirdwood, perex, tiwai, alsa-devel, linux-kernel, steev,
	johan+linaro, quic_bjorande, Srinivas Kandagatla

While testing X13s audio, we found multiple stablity issues this patchset
fixes these issues.
From q6dsp side issues are around locking of position pointer and handle
multiple prepare cases along with pulse audio timerbased scheduling workaround.

From LPASS codec side most of the staiblity issues were around runtime pm,
hitting various issues as the codec was firstly resetting the soundwire block
for every clk disable/enable which is taking the slaves out of sync and
resulting in re-enumerating. Second issue was around fsgen clk is not
brining up the codec out of suspend as it was not added after
runtime pm enabled. Final issue was with codec mclk rate which should
have been 192KHz same as npl instead of 96KHz. We were getting lucky as
wsa drivers are setting the same clk to 192KHz.

With this patches, x13s audio is pretty stable.

thanks,
Srini


Srinivas Kandagatla (8):
  ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared
  ASoC: qcom: q6apm-dai: fix race condition while updating the position
    pointer
  ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag
  ASoC: qcom: audioreach: fix ADSP ready check
  ASoC: codecs: lpass: register mclk after runtime pm
  ASoC: codecs: lpass: fix incorrect mclk rate
  ASoC: codecs: lpass: do not reset soundwire block on clk enable
  ASoC: codecs: lpass: remove not so useful verbose log

 sound/soc/codecs/lpass-rx-macro.c       | 31 ++++++++++--------
 sound/soc/codecs/lpass-tx-macro.c       | 25 ++++++++------
 sound/soc/codecs/lpass-va-macro.c       | 43 +++++++++++++------------
 sound/soc/codecs/lpass-wsa-macro.c      | 27 ++++++++--------
 sound/soc/qcom/qdsp6/q6apm-dai.c        | 22 +++++++++++--
 sound/soc/qcom/qdsp6/q6apm-lpass-dais.c |  5 +++
 sound/soc/qcom/qdsp6/q6apm.c            | 17 +++++-----
 7 files changed, 101 insertions(+), 69 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-04-02  8:12 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 12:27 [PATCH 0/8] ASoC: qcom: q6dsp and lpass codec stablity fixes Srinivas Kandagatla
2023-02-09 12:27 ` Srinivas Kandagatla
2023-02-09 12:27 ` [PATCH 1/8] ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared Srinivas Kandagatla
2023-02-09 12:27   ` Srinivas Kandagatla
2023-02-09 12:28 ` [PATCH 2/8] ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-02-09 12:28 ` [PATCH 3/8] ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-02-09 12:28 ` [PATCH 4/8] ASoC: qcom: audioreach: fix ADSP ready check Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-02-09 12:28 ` [PATCH 5/8] ASoC: codecs: lpass: register mclk after runtime pm Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-03-24 11:22   ` Luca Weiss
2023-03-24 11:22     ` Luca Weiss
2023-03-24 13:40     ` Srinivas Kandagatla
2023-03-24 13:40       ` Srinivas Kandagatla
2023-03-31 11:42       ` Luca Weiss
2023-03-31 11:42         ` Luca Weiss
2023-02-09 12:28 ` [PATCH 6/8] ASoC: codecs: lpass: fix incorrect mclk rate Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-02-09 12:28 ` [PATCH 7/8] ASoC: codecs: lpass: do not reset soundwire block on clk enable Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-02-09 12:28 ` [PATCH 8/8] ASoC: codecs: lpass: remove not so useful verbose log Srinivas Kandagatla
2023-02-09 12:28   ` Srinivas Kandagatla
2023-02-09 18:36 ` [PATCH 0/8] ASoC: qcom: q6dsp and lpass codec stablity fixes Mark Brown
2023-02-09 18:36   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.