usb: dwc3: drd: Defer probe if extcon device is not found
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 18 Feb 2019 13:26:31 +0000 (15:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Feb 2019 14:08:07 +0000 (15:08 +0100)
commit98bba546e82d7785b9560c6b141b73ac8d3d820f
tree0dc68d0cc0f110fd27dacfd3a7a665ddf03a85b8
parent0742a338f5b3446a26de551ad8273fb41b2787f2
usb: dwc3: drd: Defer probe if extcon device is not found

In case the "linux,extcon-name" property is defined but device itself
is not ready, defer the probe.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/drd.c