usb: gadget: remove driver from pending list on probe error
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 8 Feb 2016 12:42:14 +0000 (13:42 +0100)
committerFelipe Balbi <balbi@kernel.org>
Tue, 23 Feb 2016 06:51:37 +0000 (08:51 +0200)
commit31b994a4986dcdd664c597afcef2c0918763019a
treee71ac280b59baa997399b214a99b6156f64a9185
parentbba40e6948b94cba71965285fbac31bd078c024a
usb: gadget: remove driver from pending list on probe error

Retry gadget probe only if the probe result is -EPROBE_DEFER, not on
every probe error.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/udc-core.c