commit | cdcedd6981194e511cc206887db661d016069d68 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Mon Jul 15 12:36:35 2013 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jul 15 12:36:35 2013 +0300 |
tree | b5cee1cff2efe16856a4bfc56d1ce92a4668991c | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 [diff] |
usb: dwc3: gadget: don't prevent gadget from being probed if we fail 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. Cc: <stable@vger.kernel.org> Signed-off-by: Felipe Balbi <balbi@ti.com>