remoteproc: stm32: use workqueue to treat mailbox callback
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Fri, 25 Oct 2019 08:56:39 +0000 (10:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 9 Nov 2019 01:22:40 +0000 (17:22 -0800)
commit714cf5e3846047052fae89c7b927b886cc69d60c
tree82ce35cffa1d4ae786f17b7103c9b4effd163795
parent99cf0361e7af29511309804bbedd240bf939cebd
remoteproc: stm32: use workqueue to treat mailbox callback

The mailbox callback is under interrupt context. A consequence is
that RPMsg Callbacks are also in interrupt context.
Create workqueue to treat the callbacks in normal context.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/stm32_rproc.c