ASoC: q6dsp: q6afe: add global q6afe waitqueue
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 10 Sep 2020 10:17:28 +0000 (11:17 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 10 Sep 2020 12:29:25 +0000 (13:29 +0100)
commit181202d021f51d4c0442e71adc34e9629a35a6d8
tree01f6ccb8a3a978a859d7dc7364c7b4092671f627
parent342a4f8ca12b1cac812151b05f8a837eebc6885c
ASoC: q6dsp: q6afe: add global q6afe waitqueue

In some cases like clocks q6afe would have to process commands
without an associated q6afe port, in such cases waitqueue is
required at global level to wait for the command to finish.
This patch also adds the command result to go with this waitqueue.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200910101732.23484-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6afe.c