projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c06d4dc
)
USB: Fix usb_serial_driver structure for Kobil cardreader driver.
author
Stefan Bader
<stefan.bader@canonical.com>
Fri, 25 Jan 2008 13:09:41 +0000
(08:09 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 1 Feb 2008 22:35:06 +0000
(14:35 -0800)
The device setup did miss to initialize the num_interrupt_out field, thus
failing to successfully complete the probe function.
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Cc: stable <stable@kernel.org>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/kobil_sct.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/kobil_sct.c
b/drivers/usb/serial/kobil_sct.c
index aee450246bfd8b0befa879ca9613415ad649d577..17b3baead4adec5acf81f4e9955d1c97f3bc59f0 100644
(file)
--- a/
drivers/usb/serial/kobil_sct.c
+++ b/
drivers/usb/serial/kobil_sct.c
@@
-114,6
+114,7
@@
static struct usb_serial_driver kobil_device = {
.usb_driver = &kobil_driver,
.id_table = id_table,
.num_interrupt_in = NUM_DONT_CARE,
+ .num_interrupt_out = NUM_DONT_CARE,
.num_bulk_in = 0,
.num_bulk_out = 0,
.num_ports = 1,