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

Commit 3b30a88d authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Gerrit - the friendly Code Review server
Browse files

USB: gadget: ci13xxx_udc: Clear suspend flag before composite resume



Currently controller driver is clearing suspend variable after all
function drivers are resumed. There is a chance that function driver
that is resumed first can queue requests to USB controller before
all function drivers are resumed and this fails with error -EAGAIN.
Some function drivers like f_qc_rndis.c doesn't queue again and
results in IP ADDRESS not assigned after resume during suspend/resume
tests. Hence clear suspend variable flag before calling composite
resume.

CRs-Fixed: 843244
Change-Id: Ifccfd1fa842dccf6a8a9f22914edf28aea83ab86
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent b79cfe22
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