power: qpnp-smbcharger: set DP_DM before PRESENT and TYPE at bootup
It is expected that at charger insertion, DP_DM property be set prior
to setting the usb power supply's PRESENT and TYPE property and at
charger removal DP_DM property be set subsequent to setting the usb power
supply's PRESENT and TYPE property.
At the time of boot up, if a charger is found present the driver only sets
the PRESENT and TYPE property without setting DP_DM property. Fix this.
Change-Id: I5b8f721e033ef0f6ae06959f2352db3fa6abcc74
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment