Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc
commit db7e59e upstream. Commit 15c7fab ("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: [email protected] Cc: Alexey Klimov <[email protected]> Cc: Steev Klimaszewski <[email protected]> Fixes: 15c7fab ("ASoC: qcom: Move Soundwire runtime stream alloc to soundcards") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information