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

Skip to content
Commit daaa9359 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: gadget: f_ipc: Use timeout when waiting for request completion



If a certain host does not receive IPC hello messages with the
connected device, then the USB transport is blocked to be added
to the xprt_list maintained by IPC router core, which ultimately
blocks all other transports to be added leading to subsystem
level failures.
Fix this by using timeout version of the wait_for_completion API
in the IPC function driver so as to bail out if the host fails to
receive hello packets.

Change-Id: I4ad789776fffbc28eb099e00631d0bb834f215b7
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 4b967be4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment