USB: android: Call PM APIs if configured and suspended are true
Currently android driver is calling PM APIs in android_disbable()
without having proper check. This leads calling PM APIs when wall charger/
quick charger is conneced, which impacts charging. Hence have a check
to allow calling PM APIs only if cdev->configured and cdev->suspended
is true to avoid the issue of charging affected.
Change-Id: I8f24497432650e01756b635671927da2ddb002fa
Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment