diff options
Diffstat (limited to 'drivers/usb/host/oxu210hp-hcd.c')
-rw-r--r-- | drivers/usb/host/oxu210hp-hcd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index de9e1c35da45..8026dc85996c 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
@@ -1633,8 +1633,7 @@ static int submit_async(struct oxu_hcd *oxu, struct urb *urb, | |||
1633 | #endif | 1633 | #endif |
1634 | 1634 | ||
1635 | spin_lock_irqsave(&oxu->lock, flags); | 1635 | spin_lock_irqsave(&oxu->lock, flags); |
1636 | if (unlikely(!test_bit(HCD_FLAG_HW_ACCESSIBLE, | 1636 | if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { |
1637 | &oxu_to_hcd(oxu)->flags))) { | ||
1638 | rc = -ESHUTDOWN; | 1637 | rc = -ESHUTDOWN; |
1639 | goto done; | 1638 | goto done; |
1640 | } | 1639 | } |
@@ -2201,8 +2200,7 @@ static int intr_submit(struct oxu_hcd *oxu, struct urb *urb, | |||
2201 | 2200 | ||
2202 | spin_lock_irqsave(&oxu->lock, flags); | 2201 | spin_lock_irqsave(&oxu->lock, flags); |
2203 | 2202 | ||
2204 | if (unlikely(!test_bit(HCD_FLAG_HW_ACCESSIBLE, | 2203 | if (unlikely(!HCD_HW_ACCESSIBLE(oxu_to_hcd(oxu)))) { |
2205 | &oxu_to_hcd(oxu)->flags))) { | ||
2206 | status = -ESHUTDOWN; | 2204 | status = -ESHUTDOWN; |
2207 | goto done; | 2205 | goto done; |
2208 | } | 2206 | } |
@@ -2707,7 +2705,6 @@ static int oxu_run(struct usb_hcd *hcd) | |||
2707 | u32 temp, hcc_params; | 2705 | u32 temp, hcc_params; |
2708 | 2706 | ||
2709 | hcd->uses_new_polling = 1; | 2707 | hcd->uses_new_polling = 1; |
2710 | hcd->poll_rh = 0; | ||
2711 | 2708 | ||
2712 | /* EHCI spec section 4.1 */ | 2709 | /* EHCI spec section 4.1 */ |
2713 | retval = ehci_reset(oxu); | 2710 | retval = ehci_reset(oxu); |