]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 19 Jan 2021 17:15:27 +0000 (17:15 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Jan 2021 16:46:45 +0000 (16:46 +0000)
commit107471be71f335ba7d0209f823166171cc2b951d
tree60c5929f13bd6b2e5a91d92bc1e812d8c94c4a44
parent6766ebcc18a956961b4bd7915d24cada82319a61
ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY

lpass hdmi support patch totally removed support for MI2S TERTIARY
and QUATERNARY.

One of the major issue was spotted with the design of having
separate SoC specific header files for the common lpass driver.
This design is prone to break as an when new SoC header is added
as the common DAI ids of other SoCs will be overwritten by the
new ones.

Having a common header qcom,lpass.h should fix the issue and any new
DAI ids should be added to the common header.

With this change lpass also needs a new of_xlate function to resolve
dai name.

Fixes: f3fe4960dd38 ("ASoC: qcom: Add support for lpass hdmi driver")
Reported-by: Jun Nie <jun.nie@linaro.org>
Reported-by: Stephan Gerhold <stephan@gerhold.net>
Tested-by: Srinivasa Rao <srivasam@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210119171527.32145-3-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c
sound/soc/qcom/lpass-platform.c
sound/soc/qcom/lpass-sc7180.c
sound/soc/qcom/lpass.h