Home
last modified time | relevance | path

Searched hist:"655283 a7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/phy/
H A Dphy.c655283a7 Wed Dec 06 23:26:14 CST 2017 Baolin Wang <baolin.wang@linaro.org> usb: phy: Factor out the usb charger initialization

Factor out the guts of usb charger initialization into usb_charger_init()
function, to make the usb_add_extcon() only do the extcon related things.
Meanwhile we also should initialize the USB charger before registering
the extcon device, in case the extcon notification was issued earlier than
usb charger initialization.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
655283a7 Wed Dec 06 23:26:14 CST 2017 Baolin Wang <baolin.wang@linaro.org> usb: phy: Factor out the usb charger initialization

Factor out the guts of usb charger initialization into usb_charger_init()
function, to make the usb_add_extcon() only do the extcon related things.
Meanwhile we also should initialize the USB charger before registering
the extcon device, in case the extcon notification was issued earlier than
usb charger initialization.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>