diff options
author | Felipe Balbi <balbi@ti.com> | 2013-07-15 12:36:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 16:50:48 +0800 |
commit | 003dda8a8dedc8a2e90f33fd0745b9529afdf161 (patch) | |
tree | cf81155e40c16f0b4ac58dabd726e54600f2beb6 /tools | |
parent | 41557736ac4acc112a1884177f62716c57852ddc (diff) | |
download | kernel-common-003dda8a8dedc8a2e90f33fd0745b9529afdf161.tar.gz kernel-common-003dda8a8dedc8a2e90f33fd0745b9529afdf161.tar.bz2 kernel-common-003dda8a8dedc8a2e90f33fd0745b9529afdf161.zip |
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 <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions