Android Wear 9.0.0 Release 0.7 (PWD9.181119.005,anthracite)
usb: move dwc irq registration in probe

dwc IRQ is registered when USB is plugged then unregistered
when USB is unplugged. Due to some race condition the irq
might be missed, creating a strange situation where dwc
driver holds a wakelock but the charger isn't notified,
thus the board is not charging and not considered "plugged"

Change-Id: I8f581338259cc3914ca50b84655210ef6b352b75
Tracked-On: https://jira01.devtools.intel.com/browse/AW-8189
Signed-off-by: Etienne Lachaud <etiennex.lachaud@intel.com>
Reviewed-on: https://android.intel.com/648475
Reviewed-by: Dubray, SimonX <simonx.dubray@intel.com>
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
1 file changed