USB: msm_otg: Notify the charger type early

The current code notify the charger type to power supply driver
only after the amount of avaialble current is determined.  If
we are attached to Host PC, this is delayed till host sends
set config request.  Instead notify the charger type once the
charger is determined.

CRs-Fixed: 441014
Change-Id: Ieb126ae8106ed1b0433c3d756d473e37cb55cdca
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
1 file changed