From: Felipe Balbi Date: Mon, 15 Jul 2013 09:36:35 +0000 (+0300) Subject: usb: dwc3: gadget: don't prevent gadget from being probed if we fail X-Git-Tag: v3.2.50~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2adb61e3ee2f0767375413c671a50b666918fec9;p=pandora-kernel.git usb: dwc3: gadget: don't prevent gadget from being probed if we fail commit cdcedd6981194e511cc206887db661d016069d68 upstream. In case we fail our ->udc_start() callback, we should be ready to accept another modprobe following the failed one. We had forgotten to clear dwc->gadget_driver back to NULL and, because of that, we were preventing gadget driver modprobe from being retried. Signed-off-by: Felipe Balbi Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed