Commit c240f4ed authored by Prakruthi Deepak Heragu's avatar Prakruthi Deepak Heragu Committed by Treehugger Robot
Browse files

ANDROID: gunyah: Convert mutex_lock_interruptible to mutex_lock



Crosvm thread can get interrupted while making a call to the Resource
Manager. If we wait on mutext_lock_interruptible, the RM call might be
incomplete and as part of the cleanup if there are further RM calls that
need to be made, they will also return without making the RM call
because there is a signal on the thread. Use mutex_lock while making the
RM calls to ensure the RM call completes and only if there is a geniune
error, we can clean up.

Bug: 302322730
Change-Id: I961aa917588a72bb8733e6f80d80f3ceed179076
Signed-off-by: default avatarPrakruthi Deepak Heragu <quic_pheragu@quicinc.com>
parent 6305df80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment