1
linux/sound/soc/qcom
Krzysztof Kozlowski db7e59e6a3
ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc
Commit 15c7fab0e0 ("ASoC: qcom: Move Soundwire runtime stream alloc to
soundcards") moved the allocation of Soundwire stream runtime from the
Qualcomm Soundwire driver to each individual machine sound card driver,
except that it forgot to update SC7280 card.

Just like for other Qualcomm sound cards using Soundwire, the card
driver should allocate and release the runtime.  Otherwise sound
playback will result in a NULL pointer dereference or other effect of
uninitialized memory accesses (which was confirmed on SDM845 having
similar issue).

Cc: stable@vger.kernel.org
Cc: Alexey Klimov <alexey.klimov@linaro.org>
Cc: Steev Klimaszewski <steev@kali.org>
Fixes: 15c7fab0e0 ("ASoC: qcom: Move Soundwire runtime stream alloc to soundcards")
Link: https://lore.kernel.org/r/20241010054109.16938-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241012101108.129476-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-10-22 21:00:38 +01:00
..
qdsp6 ASoC: Updates for v6.12 2024-09-14 09:09:59 +02:00
apq8016_sbc.c ASoC: qcom: Use snd_soc_substream_to_rtd() for accessing private_data 2024-05-06 23:59:47 +09:00
apq8096.c ASoC: qcom: Fix trivial code style issues 2023-12-18 14:04:25 +00:00
common.c ASoC: remove snd_soc_dai_link_set_capabilities() 2024-08-22 13:36:46 +01:00
common.h ASoC: qcom: common: add Display port Jack function 2024-06-18 14:20:09 +01:00
Kconfig ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc 2024-10-22 21:00:38 +01:00
lpass-apq8016.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
lpass-cdc-dma.c ASoC: qcom: Fix uninitialized pointer dmactl 2024-02-21 14:01:17 +00:00
lpass-cpu.c ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe() 2024-10-07 15:35:34 +01:00
lpass-hdmi.c ASoC: qcom: Fix trivial code style issues 2023-12-18 14:04:25 +00:00
lpass-hdmi.h
lpass-ipq806x.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
lpass-lpaif-reg.h
lpass-platform.c ASoC: qcom: Fix trivial code style issues 2023-12-18 14:04:25 +00:00
lpass-sc7180.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
lpass-sc7280.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
lpass.h ASoC: qcom: Fix trivial code style issues 2023-12-18 14:04:25 +00:00
Makefile ASoC: qcom: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:26 +09:00
sc7180.c ASoC: qcom: Use snd_soc_substream_to_rtd() for accessing private_data 2024-05-06 23:59:47 +09:00
sc7280.c ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc 2024-10-22 21:00:38 +01:00
sc8280xp.c ASoC: qcom: sc8280xp: add Display port Jack 2024-06-18 14:20:10 +01:00
sdm845.c ASoC: qcom: sdm845: add missing soundwire runtime stream alloc 2024-10-10 12:15:00 +01:00
sdw.c ASoC: qcom: add missing MODULE_DESCRIPTION() macro 2024-06-04 12:57:44 +01:00
sdw.h ASoC: qcom: Add helper for allocating Soundwire stream runtime 2023-11-29 18:53:24 +00:00
sm8250.c ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string 2024-10-02 14:02:03 +01:00
storm.c ASoC: qcom: Fix trivial code style issues 2023-12-18 14:04:25 +00:00
x1e80100.c ASoC: qcom: x1e80100: Add USB DisplayPort plug support 2024-06-18 14:20:11 +01:00