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

Commit d4e5b324 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

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: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 4fa286af
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