USB: android gadget: queue the request only when serial is online
As a part of comp switch serial driver may queue the request
during serial unregistration, since serial unregistration is not
happening in atomic context.
Add variable to maintain serial driver state and verify that
variable before queuing the request.
Signed-off-by:
Anji Jonnala <anjir@qualcomm.com>
Loading
Please register or sign in to comment