Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8faff249 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

power: supply: qti_battery_charger: run usb_type_work during probe



Currently, updating USB type only depends on USB status change
notification from the charger firmware. During a reboot with USB
connected, there is a chance that a USB power supply notification would
have been sent by the charger firmware little earlier even before the
battery charger driver was ready to handle it. Hence it would've got
missed and USB type is not updated properly. Fix it by scheduling
usb_type_work once the driver probes.

Change-Id: I0ae482e90a76a0b2128fcc45561adb77a2ca017c
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 8543fd31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment