mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02:00
rpmsg: glink: multi enter for unregister path
Support multi enter for unregister path. Change-Id: I3dd37604e740582ee851c208a4c67fe08f20d83f Signed-off-by: Maria Yu <quic_aiquny@quicinc.com> [quic_clew@quicinc.com: This is a work around until remoteproc resolves a race where unregister is called from multiple contexts] Signed-off-by: Chris Lew <quic_clew@quicinc.com>
This commit is contained in:
parent
153212bcc8
commit
1cb52ea9b9
|
|
@ -317,6 +317,9 @@ EXPORT_SYMBOL(qcom_glink_smem_start);
|
|||
|
||||
void qcom_glink_smem_unregister(struct qcom_glink *glink)
|
||||
{
|
||||
if (!glink)
|
||||
return;
|
||||
|
||||
qcom_glink_native_remove(glink);
|
||||
qcom_glink_native_unregister(glink);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user