diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-08-31 03:45:21 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-08-31 03:45:46 -0400 |
| commit | daab7fc734a53fdeaf844b7c03053118ad1769da (patch) | |
| tree | 575deb3cdcc6dda562acaed6f7c29bc81ae01cf2 /drivers/usb/host/uhci-hub.c | |
| parent | 774ea0bcb27f57b6fd521b3b6c43237782fed4b9 (diff) | |
| parent | 2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff) | |
Merge commit 'v2.6.36-rc3' into x86/memblock
Conflicts:
arch/x86/kernel/trampoline.c
mm/memblock.c
Merge reason: Resolve the conflicts, update to latest upstream.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/usb/host/uhci-hub.c')
| -rw-r--r-- | drivers/usb/host/uhci-hub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/uhci-hub.c b/drivers/usb/host/uhci-hub.c index 8270055848ca..6d59c0f77f25 100644 --- a/drivers/usb/host/uhci-hub.c +++ b/drivers/usb/host/uhci-hub.c | |||
| @@ -190,7 +190,7 @@ static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf) | |||
| 190 | spin_lock_irqsave(&uhci->lock, flags); | 190 | spin_lock_irqsave(&uhci->lock, flags); |
| 191 | 191 | ||
| 192 | uhci_scan_schedule(uhci); | 192 | uhci_scan_schedule(uhci); |
| 193 | if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags) || uhci->dead) | 193 | if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) |
| 194 | goto done; | 194 | goto done; |
| 195 | uhci_check_ports(uhci); | 195 | uhci_check_ports(uhci); |
| 196 | 196 | ||
| @@ -200,7 +200,7 @@ static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf) | |||
| 200 | case UHCI_RH_SUSPENDING: | 200 | case UHCI_RH_SUSPENDING: |
| 201 | case UHCI_RH_SUSPENDED: | 201 | case UHCI_RH_SUSPENDED: |
| 202 | /* if port change, ask to be resumed */ | 202 | /* if port change, ask to be resumed */ |
| 203 | if (status) | 203 | if (status || uhci->resuming_ports) |
| 204 | usb_hcd_resume_root_hub(hcd); | 204 | usb_hcd_resume_root_hub(hcd); |
| 205 | break; | 205 | break; |
| 206 | 206 | ||
| @@ -246,7 +246,7 @@ static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, | |||
| 246 | u16 wPortChange, wPortStatus; | 246 | u16 wPortChange, wPortStatus; |
| 247 | unsigned long flags; | 247 | unsigned long flags; |
| 248 | 248 | ||
| 249 | if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags) || uhci->dead) | 249 | if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead) |
| 250 | return -ETIMEDOUT; | 250 | return -ETIMEDOUT; |
| 251 | 251 | ||
| 252 | spin_lock_irqsave(&uhci->lock, flags); | 252 | spin_lock_irqsave(&uhci->lock, flags); |
