diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/c67x00/c67x00-hcd.c | 1 | ||||
| -rw-r--r-- | drivers/usb/core/hcd-pci.c | 4 | ||||
| -rw-r--r-- | drivers/usb/core/hcd.c | 24 | ||||
| -rw-r--r-- | drivers/usb/host/hwa-hc.c | 1 | ||||
| -rw-r--r-- | drivers/usb/host/xhci-ring.c | 12 | ||||
| -rw-r--r-- | drivers/usb/musb/musb_core.c | 1 | 
6 files changed, 4 insertions, 39 deletions
diff --git a/drivers/usb/c67x00/c67x00-hcd.c b/drivers/usb/c67x00/c67x00-hcd.c index d3e1356d091..75e47b860a5 100644 --- a/drivers/usb/c67x00/c67x00-hcd.c +++ b/drivers/usb/c67x00/c67x00-hcd.c @@ -271,7 +271,6 @@ static void c67x00_hcd_irq(struct c67x00_sie *sie, u16 int_status, u16 msg)  	if (int_status & SOFEOP_FLG(sie->sie_num)) {  		c67x00_ll_usb_clear_status(sie, SOF_EOP_IRQ_FLG);  		c67x00_sched_kick(c67x00); -		set_bit(HCD_FLAG_SAW_IRQ, &hcd->flags);  	}  } diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c index a004db35f6d..d136b8f4c8a 100644 --- a/drivers/usb/core/hcd-pci.c +++ b/drivers/usb/core/hcd-pci.c @@ -453,10 +453,6 @@ static int resume_common(struct device *dev, int event)  	pci_set_master(pci_dev); -	clear_bit(HCD_FLAG_SAW_IRQ, &hcd->flags); -	if (hcd->shared_hcd) -		clear_bit(HCD_FLAG_SAW_IRQ, &hcd->shared_hcd->flags); -  	if (hcd->driver->pci_resume && !HCD_DEAD(hcd)) {  		if (event != PM_EVENT_AUTO_RESUME)  			wait_for_companions(pci_dev, hcd); diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 13222d352a6..43a89e4ba92 100644 --- a/drivers/usb/core/hcd.c +++ b/drivers/usb/core/hcd.c @@ -1168,20 +1168,6 @@ int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb,  	if (urb->unlinked)  		return -EBUSY;  	urb->unlinked = status; - -	/* IRQ setup can easily be broken so that USB controllers -	 * never get completion IRQs ... maybe even the ones we need to -	 * finish unlinking the initial failed usb_set_address() -	 * or device descriptor fetch. -	 */ -	if (!HCD_SAW_IRQ(hcd) && !is_root_hub(urb->dev)) { -		dev_warn(hcd->self.controller, "Unlink after no-IRQ?  " -			"Controller is probably using the wrong IRQ.\n"); -		set_bit(HCD_FLAG_SAW_IRQ, &hcd->flags); -		if (hcd->shared_hcd) -			set_bit(HCD_FLAG_SAW_IRQ, &hcd->shared_hcd->flags); -	} -  	return 0;  }  EXPORT_SYMBOL_GPL(usb_hcd_check_unlink_urb); @@ -2148,16 +2134,12 @@ irqreturn_t usb_hcd_irq (int irq, void *__hcd)  	 */  	local_irq_save(flags); -	if (unlikely(HCD_DEAD(hcd) || !HCD_HW_ACCESSIBLE(hcd))) { +	if (unlikely(HCD_DEAD(hcd) || !HCD_HW_ACCESSIBLE(hcd)))  		rc = IRQ_NONE; -	} else if (hcd->driver->irq(hcd) == IRQ_NONE) { +	else if (hcd->driver->irq(hcd) == IRQ_NONE)  		rc = IRQ_NONE; -	} else { -		set_bit(HCD_FLAG_SAW_IRQ, &hcd->flags); -		if (hcd->shared_hcd) -			set_bit(HCD_FLAG_SAW_IRQ, &hcd->shared_hcd->flags); +	else  		rc = IRQ_HANDLED; -	}  	local_irq_restore(flags);  	return rc; diff --git a/drivers/usb/host/hwa-hc.c b/drivers/usb/host/hwa-hc.c index 9bfac657572..565d79f06e6 100644 --- a/drivers/usb/host/hwa-hc.c +++ b/drivers/usb/host/hwa-hc.c @@ -776,7 +776,6 @@ static int hwahc_probe(struct usb_interface *usb_iface,  		goto error_alloc;  	}  	usb_hcd->wireless = 1; -	set_bit(HCD_FLAG_SAW_IRQ, &usb_hcd->flags);  	wusbhc = usb_hcd_to_wusbhc(usb_hcd);  	hwahc = container_of(wusbhc, struct hwahc, wusbhc);  	hwahc_init(hwahc); diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 940321b3ec6..2f8c17381c6 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2389,17 +2389,7 @@ hw_died:  irqreturn_t xhci_msi_irq(int irq, struct usb_hcd *hcd)  { -	irqreturn_t ret; -	struct xhci_hcd *xhci; - -	xhci = hcd_to_xhci(hcd); -	set_bit(HCD_FLAG_SAW_IRQ, &hcd->flags); -	if (xhci->shared_hcd) -		set_bit(HCD_FLAG_SAW_IRQ, &xhci->shared_hcd->flags); - -	ret = xhci_irq(hcd); - -	return ret; +	return xhci_irq(hcd);  }  /****		Endpoint Ring Operations	****/ diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 20a28731c33..12044c473c3 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -661,7 +661,6 @@ static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb,  		handled = IRQ_HANDLED;  		musb->is_active = 1; -		set_bit(HCD_FLAG_SAW_IRQ, &hcd->flags);  		musb->ep0_stage = MUSB_EP0_START;  |