aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/core/generic.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-01-11 14:16:50 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-17 15:13:41 -0800
commit0f1cf9ccec31f48039a83550671e405f93c5451c (patch)
treebf8546ef9825547f50b084d84e93c2c661ab6998 /drivers/usb/core/generic.c
parent9f9ba90fbe27f0e85eb15f3158e7079a64d42298 (diff)
USB serial: add missing .usb_driver field in serial drivers
commit 5620b5f7f19e9ee3fcf6ecf493fed7821b7b495b upstream. This patch (as1443) fixes a bug found in many of the USB serial drivers: They don't set the .usb_driver field in their usb_serial_driver structure. This field is needed for assigning dynamic IDs for device matching. In addition, starting with the 2.6.37 kernel, the .usb_driver field is needed for proper autosuspend operation. Without it, attempts to open the device file will fail. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: Dan Williams <dcbw@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/generic.c')
0 files changed, 0 insertions, 0 deletions