diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-17 16:33:30 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-17 16:33:30 -0500 |
| commit | 4942093e9d3b1ebdb27f43b8f3e483981e85107e (patch) | |
| tree | 978da94cf8b8c368192c48859e31fbd000e8a1a4 /drivers/usb/core/hub.c | |
| parent | 07232b971577442de0821afa0abafb6531b6192e (diff) | |
| parent | e70e7690b66dc06fe2ad9058e696e18fe7f3faa6 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
USB: revert portions of "UNUSUAL_DEV: Sync up some reported devices from Ubuntu"
usb: Remove broken optimisation in OHCI IRQ handler
USB: at91_udc: correct hanging while disconnecting usb cable
USB: use IRQF_DISABLED for HCD interrupt handlers
USB: fix locking loop by avoiding flush_scheduled_work
usb.h: fix kernel-doc warning
USB: option: Bind to the correct interface of the Huawei E220
USB: cp2101: new device id
usb-storage: Fix devices that cannot handle 32k transfers
USB: sierra: fix product id
Diffstat (limited to 'drivers/usb/core/hub.c')
| -rw-r--r-- | drivers/usb/core/hub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 13b326a13377..b04d232d4c65 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
| @@ -522,9 +522,9 @@ static void hub_quiesce(struct usb_hub *hub) | |||
| 522 | /* (blocking) stop khubd and related activity */ | 522 | /* (blocking) stop khubd and related activity */ |
| 523 | usb_kill_urb(hub->urb); | 523 | usb_kill_urb(hub->urb); |
| 524 | if (hub->has_indicators) | 524 | if (hub->has_indicators) |
| 525 | cancel_delayed_work(&hub->leds); | 525 | cancel_delayed_work_sync(&hub->leds); |
| 526 | if (hub->has_indicators || hub->tt.hub) | 526 | if (hub->tt.hub) |
| 527 | flush_scheduled_work(); | 527 | cancel_work_sync(&hub->tt.kevent); |
| 528 | } | 528 | } |
| 529 | 529 | ||
| 530 | static void hub_activate(struct usb_hub *hub) | 530 | static void hub_activate(struct usb_hub *hub) |
