]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dt-bindings: lpass: Fix and common up lpass dai ids
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 19 Jan 2021 17:15:26 +0000 (17:15 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Jan 2021 16:46:44 +0000 (16:46 +0000)
commit006ea9108d029ffbd32bc61f6406bcdb3cd9c4fd
tree1b99ad120826bb998b8bb27b699198ec5924da05
parent6a695c97fb3cb04667788a7b407fb7351dff6e05
ASoC: dt-bindings: lpass: Fix and common up lpass dai ids

Existing header file design of having separate SoC specific header files
for the common lpass driver has mutiple issues.
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.

One of them surfaced by recent patch that adds support to sc7180, this
one totally broke LPASS drivers on other Qualcomm SoCs.

Before this gets worst, fix this by having a common header qcom,lpass.h.
This should fix the issue and any new DAI ids should be added to the
common header. This will be more sustainable then the existing design!

Fixes: 4213a3394d83aa00 ("ASoC: Add sc7180-lpass binding header hdmi define")
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>
Link: https://lore.kernel.org/r/20210119171527.32145-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/dt-bindings/sound/apq8016-lpass.h
include/dt-bindings/sound/qcom,lpass.h [new file with mode: 0644]
include/dt-bindings/sound/sc7180-lpass.h