]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitcd3484f7f1386071b1af159023917ed12c182d39
tree60c5929f13bd6b2e5a91d92bc1e812d8c94c4a44
parent09a4f6f5d21cb1f2633f4e8b893336b60eee9a01
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: 7cb37b7bd0d3 ("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