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

Skip to content
Commit c3b674a0 authored by Peter Chen's avatar Peter Chen
Browse files

usb: chipidea: vbus event may exist before starting gadget



At some situations, the vbus may already be there before starting
gadget. So we need to check vbus event after switching to gadget in
order to handle missing vbus event. The typical use cases are plugging
vbus cable before driver load or the vbus has already been there
after stopping host but before starting gadget.

Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Tested-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
Reported-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
parent 5cc49268
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