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)
commit342a4f8ca12b1cac812151b05f8a837eebc6885c
tree0e9b8205c574ab44dab5caea6a855f8d7d007259
parent825492cb518bcf654e9205b3c723585191314d1a
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