qcom: apr: Make apr callbacks in non-atomic context
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 8 Feb 2019 17:55:10 +0000 (17:55 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 12 Jun 2019 04:51:07 +0000 (21:51 -0700)
commit1ac19ad799f880af58b9a8a4321334f6f6fc72e6
treefa90a5f5bdac62af7002dff37e374f75964435d9
parent02e03c897a96d42c3cb6c31bce8ba635ef19a55c
qcom: apr: Make apr callbacks in non-atomic context

APR communication with DSP is not atomic in nature.
Its request-response type. Trying to pretend that these are atomic
and invoking apr client callbacks directly under atomic/irq context has
endless issues with soundcard. It makes more sense to convert these
to nonatomic calls. This also coverts all the dais to be nonatomic.

All the callbacks are now invoked as part of rx work queue.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/apr.c