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

Skip to content
Commit 9ad1e0c0 authored by Manu Gautam's avatar Manu Gautam Committed by Stephen Boyd
Browse files

USB: android: Fix missing USB DISCONNECT uevent



Some userspace modules, e.g. MTP, work correctly only if
CONFIGURED uevent is preceded by DISCONNECT uevent. Hence,
explicitly send DISCONNECT uevent if missed out due to
really quick enumeration by USB Host.
Also, wait for some time before sending out CONFIGURED uevent
to give function drivers a chance to wakeup userspace threads
and notify previous disconnect.

Change-Id: I231b8de60b25a05e2316074b8694c9cbc15bb556
CRs-Fixed: 348066
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 010284de
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