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

Skip to content
Commit f0df5dd4 authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3-msm: Fix check for device bus suspend



Rather than checking for mdwc->vbus_active, which can be true
even with a DCP charger connected but without an enumerated
session, check for 'device_bus_suspend' which is true when SDP
or CDP connection is detected. This allows for the controller
to bypass setting of autosuspend and also to power collapse when
either cable is disconnected or when a DCP charger is attached.

Change-Id: I7ecc6e149b52d0b5b0a3ee1d38ad51a0b1c18f97
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent d602960e
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