]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: q6dsp: q6afe: prepare afe_apr_send_pkt to take response opcode
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 10 Sep 2020 10:17:27 +0000 (11:17 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 10 Sep 2020 12:29:24 +0000 (13:29 +0100)
commit80ceccf1242a3828cd04f42882d2f9540614bd39
tree0e9b8205c574ab44dab5caea6a855f8d7d007259
parent07065a05ab0e2baf3109d7b03ebaed8ed2b685db
ASoC: q6dsp: q6afe: prepare afe_apr_send_pkt to take response opcode

Update afe_apr_send_pkt() to take response opcode that it should wait for.
This is helpful in cases where we expect response other than the
actual command opcode.

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