Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 37c0b35f authored by Konstantin Dorfman's avatar Konstantin Dorfman Committed by Gerrit - the friendly Code Review server
Browse files

soc:qcom:spcom: fix ion buffer unlock on rpmsg dev remove



In case of SSR event all spss channels are disconnected. This causes each
rpmsg device remove. The channel context keep track of locked ion buffers
that were shared with SP. On SSR event only "sp_kernel" channel ion buffers
must be unlocked (because userspace will not do it by design).

This change instead of unlocking buffers for all channels, unlocks only
"sp_kernel" related ion buffers.

Change-Id: I2e677a6f301e09922a0c8238e5aaf3b65bf99176
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent 5beb31e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment