]> 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)
commit332e05077de320b24143a37d6ea8eebb95856907
treeddbf0fd0d1ade90a32af97e52b21cfc026f8df23
parente7e732f4effd5ba56992ad8e8292263004de50c0
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