OSDN Git Service

soc: qcom: ipc_router_mhi_xprt: Handle xfer event in atomic context
authorChris Lew <clew@codeaurora.org>
Thu, 1 Dec 2016 23:19:06 +0000 (15:19 -0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 27 Apr 2017 23:48:36 +0000 (16:48 -0700)
commitb9d9a75d2449a7d76ad70a314dfcaee9e61d0156
treea09ad82cdf67c3858981188fa556f1c9c55cb8da
parent0abd412d833e1f914d366a89d533bcb5cd6be7c7
soc: qcom: ipc_router_mhi_xprt: Handle xfer event in atomic context

The MHI driver requires the MHI_CB_XFER event handling be atomic.
This change makes the addr map locks into spinlocks so sleep is
avoided while processing the XFER event.

CRs-Fixed: 1089824
Change-Id: I7bd8f606f92095bb47741aa54a846b687fe948b9
Signed-off-by: Chris Lew <clew@codeaurora.org>
drivers/soc/qcom/ipc_router_mhi_xprt.c