msm: mhi_dev: Handle potential deadlock situation
With the current logic, MHI driver will hold channel lock while processing the ring element and triggers callback for the clients. Some clients are issuing read requests for the channel in the callback context. MHI driver will try to acquire the same channel lock in read api leading to a deadlock situation. Modify the logic to avoid holding channel lock while processing the ring elements. Change-Id: I62ac28d5eb06e3c9b12437f02288cfe1cdb2bea2 Signed-off-by:Nitesh Gupta <nitegupt@codeaurora.org> Signed-off-by:
Gauri Joshi <gaurjosh@codeaurora.org>
Loading
Please register or sign in to comment