Maarten ter Huurne 2eafe93b92 usb: phy: generic: Handle late registration of gadget
It is possible for the VBUS detect GPIO interrupt to occur before
nop_set_peripheral() is called, in which case otg->gadget is NULL.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
2016-03-04 15:14:47 +02:00
..
2015-03-11 10:19:36 -05:00
2015-06-08 10:57:51 -07:00
2014-11-12 08:37:37 -06:00
2014-11-03 10:01:25 -06:00