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:
Azhar Shaikh <azhars@codeaurora.org>
Loading
Please register or sign in to comment