commit | 2eafe93b92921308b624466b4c8a99bd1ace6e4f | [log] [tgz] |
---|---|---|
author | Maarten ter Huurne <maarten@treewalker.org> | Sun Feb 28 16:34:16 2016 +0100 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Mar 04 15:14:47 2016 +0200 |
tree | cdbe0aac33f1d5ac233a30def2d49bc89c3f22e2 | |
parent | cff5638ef7852196879f9687e70d49ea291bbb33 [diff] |
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>