projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36facad
)
USB: gadgets: ci13xxx: fix probing of compiled-in gadget drivers
author
Artem Leonenko
<tikkeri@gmail.com>
Wed, 15 Dec 2010 07:46:40 +0000
(23:46 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 16 Dec 2010 21:32:37 +0000
(13:32 -0800)
Built-in gadget drivers have NULL-ifed unbind() function. Checking
whether unbind() is NULL will never let any compiled into kernel
driver attach.
Signed-off-by: Artem Leonenko <tikkeri@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/ci13xxx_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/ci13xxx_udc.c
b/drivers/usb/gadget/ci13xxx_udc.c
index f200e472e476d80dcbe2005adebedc142ecf406e..03505cbae8739f06a9bce6a440347341b9d0d1f2 100644
(file)
--- a/
drivers/usb/gadget/ci13xxx_udc.c
+++ b/
drivers/usb/gadget/ci13xxx_udc.c
@@
-2393,7
+2393,6
@@
int usb_gadget_probe_driver(struct usb_gadget_driver *driver,
if (driver == NULL ||
bind == NULL ||
- driver->unbind == NULL ||
driver->setup == NULL ||
driver->disconnect == NULL ||
driver->suspend == NULL ||