diff options
| author | Oliver Neukum <oneukum@suse.de> | 2007-01-26 14:26:21 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-23 15:03:46 -0800 |
| commit | 7ceec1f1d26f966c0816b86a1aab1e0b3b208757 (patch) | |
| tree | 3b444fb3eedff17366a7aa01106ee7eed50e051a /drivers/usb/core/hub.c | |
| parent | bb417020ba8c559eb52f57379ba17f669f8f72cd (diff) | |
| download | olio-linux-3.10-7ceec1f1d26f966c0816b86a1aab1e0b3b208757.tar.xz olio-linux-3.10-7ceec1f1d26f966c0816b86a1aab1e0b3b208757.zip | |
USB: add a blacklist for devices that can't handle some things we throw at them.
This adds a blacklist to the USB core to handle some autosuspend and
string issues that devices have.
Originally written by Oliver, but hacked up a lot by Greg.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/hub.c')
| -rw-r--r-- | drivers/usb/core/hub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 50c0db15304..41400743ce2 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -1287,6 +1287,9 @@ int usb_new_device(struct usb_device *udev) if (!try_module_get(THIS_MODULE)) return -EINVAL; + /* Determine quirks */ + usb_detect_quirks(udev); + err = usb_get_configuration(udev); if (err < 0) { dev_err(&udev->dev, "can't read configurations, error %d\n", |