USB: dwc3_otg: Notify PMIC to draw 1500mA current if connected to CDP

If device is connected to Charging Downstream Port (CDP), it is allowed to
draw maximum current of 1500mA always if not suspended as per spec. But
currently notifying PMIC to draw maximum current of 500mA after USB
enumeration, if connected to Charging Downstream Port (CDP). Hence fix this
by notifying PMIC to draw 1500mA instead of 500mA after enumeration in case
of Charging Downstream Port (CDP).

CRs-Fixed: 465139
Change-Id: I8a5162dd1cc83bee0c8960568ec6f8783a1116f3
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
1 file changed