On Thu Oct 10, 2024 at 6:18 AM BST, Krzysztof Kozlowski wrote:
On 09/10/2024 23:39, Alexey Klimov wrote:
During the migration of Soundwire runtime stream allocation from the Qualcomm Soundwire controller to SoC's soundcard drivers the sdm845 soundcard was forgotten.
At this point any playback attempt or audio daemon startup, for instance on sdm845-db845c (Qualcomm RB3 board), will result in stream pointer NULL dereference:
...
Reproduced and then fix was tested on db845c RB3 board.
Reported-by: Dmitry Baryshkov dmitry.baryshkov@linaro.org Cc: stable@vger.kernel.org Fixes: 15c7fab0e047 ("ASoC: qcom: Move Soundwire runtime stream alloc to soundcards") Cc: Srinivas Kandagatla srinivas.kandagatla@linaro.org Cc: Dmitry Baryshkov dmitry.baryshkov@linaro.org Cc: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org Cc: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com Signed-off-by: Alexey Klimov alexey.klimov@linaro.org
We should fix this everywhere, not only sdm845. I'll look at remaining sc7280.
What about sc7180? Or is sc7180 one the platforms where soundwire is not used and DSP is not involved? Anyway, I don't have hw to test sc7180 or sc7280.
Thank you, Alexey