ASoC: qcom: Add helper for allocating Soundwire stream runtime
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 28 Nov 2023 16:56:37 +0000 (17:56 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2023 18:53:24 +0000 (18:53 +0000)
commitd32bac9cb09cce4dc3131ec5d0b6ba3c277502ac
treeb94119d4559bd35d5f1cbe2dc0c581614c5065a9
parent9cce9c4806a89439ea34aad2e382150d68c7ea95
ASoC: qcom: Add helper for allocating Soundwire stream runtime

Newer Qualcomm SoC soundcards will need to allocate Soundwire stream
runtime in their startup op.  The code will be exactly the same for all
soundcards, so add a helper for that.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231128165638.757665-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sdw.c
sound/soc/qcom/sdw.h