usb: msm-hsphy: Fix conditional logic for host suspend
Suspend while in host mode should not power off regulators
as they are needed keep minimal power to the PHY in order
to detect linestate changes. The conditional check incorrectly
used an OR with the no charger connected flag when it should
be AND, as both conditions are somewhat mutually exclusive.
Change-Id: I60e184b636b45d410f2fcbd1916178cc4e480626
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment