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

Commit d84aa6ac authored by Azhar Shaikh's avatar Azhar Shaikh
Browse files

usb: dwc3-msm: Remove POWER_SUPPLY_PROP_SCOPE from USB



power_supply_set_scope() was called to set SCOPE_DEVICE
or SCOPE_SYSTEM depending on if USB was in device or host mode
respectively, in order to indicate to PMIC driver to either supply
5V or allow charging.
The PMIC driver is now able to decide if the device is in HOST MODE
or DEVICE MODE, so remove the code to call POWER_SUPPLY_PROP_SCOPE from
USB controller.

Change-Id: I78e9d2936e2197b63d992d6e120cfc93563bfb2a
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent a820922f
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