summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-08-19 16:33:55 -0700
committerJack Pham <jackp@codeaurora.org>2016-08-19 16:55:05 -0700
commitffedac17171fd35396bfdf76447cbe68da62ac14 (patch)
tree0ec71083a50f6a9d2cdeade5674bcd15ac24b481 /include/linux/fpga/fpga-mgr.h
parent0c8cf716fa02d0f6b6ef2ef1446f9f4819fc83dd (diff)
usb: dwc3-msm: Only set vbus_draw for SDP type
When gadget driver sets VBUS current draw, this should only be applicable if the charger type is SDP. For other downstream types, such as CDP, it can draw up up to the maximum (1.5A) without having to follow the rules of configured/suspended current limits. Further, with Power Delivery role swap supported, it's possible the gadget (UFP) is a power source, so vbus_draw() should be no-op'ed. Change-Id: If7f8233a0eb2644e5534a51a4a4f65212d448382 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions