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

Commit 3cc1fa95 authored by Sriharsha Allenki's avatar Sriharsha Allenki Committed by Gerrit - the friendly Code Review server
Browse files

usb: f_gps: Fix infinite loop of response available notifications



As part of function suspend we are clearing all the
responses and setting the notify count to 0. If a queued
request on the interrupt endpoint is not
completed before function suspend and is completed
after the next resume, the notify count is decremented
below 0 and causes an infinite loop of response
available notifications. Prevent this by dequeuing any
request on the interrupt endpoint during function suspend.

CRs-Fixed: 2100624
Change-Id: I75425ae84d0901a0ac34c34db3a7bbb527143540
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent ec7c9d88
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