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

Skip to content
Commit fee2024a authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

diag: Synchronize MHI read and USB write for diag buffers



Remove the buffer entry from the usb table in error cases and
add support for knowing USB connection status. Remove the buffer
entry from the mhi callback list if entry is removed from mhi
buffer table as well.
Increase the scope of channel lock while memory allocation and
synchronize it against memory free.

Change-Id: If22cef15898fc8a5ec727342965b597a0a256016
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent b579d433
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