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

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

diag: Fail read_work if HSIC channel is suspended



read_work work function continuously keeps queueing IN URBs to
the USB. In suspend scenario, this can lead to transfer ring
getting exhausted and expansion of ring failing. After this
when the target resumes, meaningful read URB submission fails
leading to diag port loss.
Fix this by not invoking diag_bridge_read if HSIC channel is
suspended.

Change-Id: Ic9b76095a00ae7cebe26cded3d95d4c4cb4fb42c
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 39641649
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