]> git.hungrycats.org Git - linux/commit
ASoC: qcom: sc8280xp: Fix TDM hw_params error handling
authorPrasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Tue, 18 Aug 2026 08:46:55 +0000 (14:16 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 18 Aug 2026 18:22:47 +0000 (19:22 +0100)
commit8593dc5f052e791748eaa76397ad95b9e32edac3
treef9433dde8bb82affae74721bc46e4f8bf0266f52
parent0a9e00d5ebdfcf460902f463e765f737d3fe935e
ASoC: qcom: sc8280xp: Fix TDM hw_params error handling

Treat -ENOENT from TDM slot parsing as the optional "configuration not
present" case and continue to propagate real configuration errors.

Also ignore -ENOTSUPP from optional DAI format and codec sysclk
callbacks, apply codec_dai_fmt to codec DAIs on TDM links, and use a
signed bclk_freq variable so errors from snd_soc_tdm_params_to_bclk()
are handled correctly.

Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20260804070307.117119-1-prasad.kumpatla@oss.qualcomm.com
Signed-off-by: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20260818084655.3240284-5-prasad.kumpatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sc8280xp.c