+47
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The charger driver on certain platform depends on the
USB to differentiate between a Standard Downstream Port
and a Float charger, so that the case of slow insertion
is taken care of. The USB driver has to set the current
to -ETIMEDOUT for float and a valid value (100mA, 500mA, 900mA)
for SDP so that the charger can differentiate between the two.
Add the support for the same by checking the linkstate
in a second in the case the charger detected is Float
to differentiate between Standard Downstream Port
and a Float charger.
Change-Id: Ibfbf1225543a8d3c097dae8772b0ce5f1bce0205
Signed-off-by:
Sriharsha Allenki <sallenki@codeaurora.org>