ASoC: qcom: sdm845: handle soundwire stream
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 17 Mar 2020 15:12:32 +0000 (15:12 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 18 Mar 2020 21:25:53 +0000 (21:25 +0000)
commit1b93a88431470ea0b943157999084d9c7e6e3bd3
tree6c8ef43f86ffc1f50f04ddcf3bcbef582b6d7746
parent16252a8f3af77f69c2193fdc7b2f595b30845a44
ASoC: qcom: sdm845: handle soundwire stream

In existing setup WSA881x codec handles soundwire stream,
however DB845c and other machines based on SDM845c have 2
instances for WSA881x codec. This will force soundwire stream
to be prepared/enabled twice or multiple times.
Handling SoundWire Stream in machine driver would fix this issue.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200317151233.8763-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig
sound/soc/qcom/sdm845.c