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:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment