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

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

usb: dwc3: msm: Rework dwc3_gadget_vbus_draw()



Since dwc3_gadget_vbus_draw() was merely calling
dwc3_otg_set_power() through usb_otg. Use notify_event() to notify
controller driver and call dwc3_msm_gadget_vbus_draw() which sets
the current to be drawn from USB.
This helps to remove the dependency on dwc3_otg from
dwc3_gadget.

Change-Id: Ie9000ddabedce667dd3251e9a0321c89fe12f602
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent ad216608
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