diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-01-11 20:16:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-23 03:38:59 +0100 |
commit | 5620b5f7f19e9ee3fcf6ecf493fed7821b7b495b (patch) | |
tree | 59aa3c05bca4552fc92903deafc3181e3df273ec /drivers/vhost | |
parent | USB: ehci-fsl: Fix 'have_sysif_regs' detection (diff) | |
download | linux-5620b5f7f19e9ee3fcf6ecf493fed7821b7b495b.tar.xz linux-5620b5f7f19e9ee3fcf6ecf493fed7821b7b495b.zip |
USB serial: add missing .usb_driver field in serial drivers
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>
CC: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions