OSDN Git Service

ASoC: qdsp6: q6afe-dai: Fix the dai widgets
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 6 Nov 2018 11:38:57 +0000 (11:38 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 6 Nov 2018 16:56:25 +0000 (16:56 +0000)
commite14856f6cfbb1b96aa45a68f188b147b5bde76b4
tree71d926794aee4301c77d594256115d3a082b6b10
parent9de57ff1566fd36a664c1b04a641e26fed472a9c
ASoC: qdsp6: q6afe-dai: Fix the dai widgets

For some reason the dapm widgets are incorrectly defined from the start,
Not sure how we ended up with such thing. Fix them now!

Without this fix the backend dais are always powered up even if there
is no active stream.

Reported-by: Jimmy Cheng-Yi Chiang <cychiang@google.com>
Reported-by: Rohit kumar <rohitkr@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6afe-dai.c