diff options
author | Rahul Bedarkar <rahulbedarkar89@gmail.com> | 2014-01-04 00:54:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-07 19:17:40 -0500 |
commit | 025d44309f92bd5e3d1b2c7fab66836ab25b541b (patch) | |
tree | 261fde505eb086f5077730f678d4f9471b2ab699 /drivers/usb/core/hub.c | |
parent | d7e92f7f768477c6ab5ec6b12f854db3e716b2e5 (diff) |
USB: core: correct spelling mistakes in comments and warning
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r-- | drivers/usb/core/hub.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 9e49c6d6e4a2..c1422a04c991 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -2513,7 +2513,7 @@ static bool use_new_scheme(struct usb_device *udev, int retry) | |||
2513 | static int hub_port_reset(struct usb_hub *hub, int port1, | 2513 | static int hub_port_reset(struct usb_hub *hub, int port1, |
2514 | struct usb_device *udev, unsigned int delay, bool warm); | 2514 | struct usb_device *udev, unsigned int delay, bool warm); |
2515 | 2515 | ||
2516 | /* Is a USB 3.0 port in the Inactive or Complinance Mode state? | 2516 | /* Is a USB 3.0 port in the Inactive or Compliance Mode state? |
2517 | * Port worm reset is required to recover | 2517 | * Port worm reset is required to recover |
2518 | */ | 2518 | */ |
2519 | static bool hub_port_warm_reset_required(struct usb_hub *hub, u16 portstatus) | 2519 | static bool hub_port_warm_reset_required(struct usb_hub *hub, u16 portstatus) |
@@ -3321,7 +3321,8 @@ static int hub_suspend(struct usb_interface *intf, pm_message_t msg) | |||
3321 | 3321 | ||
3322 | udev = hub->ports[port1 - 1]->child; | 3322 | udev = hub->ports[port1 - 1]->child; |
3323 | if (udev && udev->can_submit) { | 3323 | if (udev && udev->can_submit) { |
3324 | dev_warn(&intf->dev, "port %d nyet suspended\n", port1); | 3324 | dev_warn(&intf->dev, "port %d not suspended yet\n", |
3325 | port1); | ||
3325 | if (PMSG_IS_AUTO(msg)) | 3326 | if (PMSG_IS_AUTO(msg)) |
3326 | return -EBUSY; | 3327 | return -EBUSY; |
3327 | } | 3328 | } |
@@ -4912,7 +4913,7 @@ static void hub_events(void) | |||
4912 | 4913 | ||
4913 | static int hub_thread(void *__unused) | 4914 | static int hub_thread(void *__unused) |
4914 | { | 4915 | { |
4915 | /* khubd needs to be freezable to avoid intefering with USB-PERSIST | 4916 | /* khubd needs to be freezable to avoid interfering with USB-PERSIST |
4916 | * port handover. Otherwise it might see that a full-speed device | 4917 | * port handover. Otherwise it might see that a full-speed device |
4917 | * was gone before the EHCI controller had handed its port over to | 4918 | * was gone before the EHCI controller had handed its port over to |
4918 | * the companion full-speed controller. | 4919 | * the companion full-speed controller. |