]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qcom: sm8250: move some code to common
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 16 Sep 2022 13:24:26 +0000 (14:24 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 14:44:13 +0000 (15:44 +0100)
commita926386029a5253690a4d49fffc44c5848959f0f
treeddbf0fd0d1ade90a32af97e52b21cfc026f8df23
parent1abcf1129acd2887de592a4edce72c9629216edc
ASoC: qcom: sm8250: move some code to common

SM8450 machine driver code can be reused across multiple Qualcomm SoCs,
At least another 2 of them for now (SM8450 and SC8250XP).

Move some of the common SoundWire stream specific code to common file
so that other drivers can use it instead of duplication.

This patch is to prepare the common driver to be able to add new SoCs support
with less dupication.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220916132427.1845-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/common.c
sound/soc/qcom/common.h
sound/soc/qcom/sm8250.c