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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:29 +0000 (09:24 +0100)
commit748b7861bce5db2777432448e4a4161129273ad2
treeb34b52dee54ac4ac77c13bc3d1c4aec5cdd23ef6
parent32d28e247da716f651e25ad71cdf777b51d7839b
ASoC: qdsp6: q6afe-dai: Fix the dai widgets

[ Upstream commit e14856f6cfbb1b96aa45a68f188b147b5bde76b4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/qcom/qdsp6/q6afe-dai.c