]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57edf3d73496b2e1fceee0a3be765efadaa573f7
tree01f6ccb8a3a978a859d7dc7364c7b4092671f627
parentcd50c406a105b7fe096f36b82ea8a0bdd823ebbb
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