diff options
author | Ming Lei <tom.leiming@gmail.com> | 2008-06-17 11:24:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:32 -0400 |
commit | 6d243e5c76b632a94d54cac2fe7fe8c0b41cd482 (patch) | |
tree | 2ca4647d6a4c0a94dcf67e6bd464e7bc0866ac92 | |
parent | 7c3e28bc56bd2e4310dc0af99f2b95eeda9a2ff7 (diff) |
USB: fix comment of usb_set_configuration
It is the usb interface driver probe() methods that
can't call usb_set_configuration, not usb device driver.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/core/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 08af1083ebfc..2fcc06eb5e60 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c | |||
@@ -1476,7 +1476,7 @@ static struct usb_interface_assoc_descriptor *find_iad(struct usb_device *dev, | |||
1476 | * | 1476 | * |
1477 | * This call is synchronous. The calling context must be able to sleep, | 1477 | * This call is synchronous. The calling context must be able to sleep, |
1478 | * must own the device lock, and must not hold the driver model's USB | 1478 | * must own the device lock, and must not hold the driver model's USB |
1479 | * bus mutex; usb device driver probe() methods cannot use this routine. | 1479 | * bus mutex; usb interface driver probe() methods cannot use this routine. |
1480 | * | 1480 | * |
1481 | * Returns zero on success, or else the status code returned by the | 1481 | * Returns zero on success, or else the status code returned by the |
1482 | * underlying call that failed. On successful completion, each interface | 1482 | * underlying call that failed. On successful completion, each interface |