From: Sarah Sharp Date: Fri, 5 Nov 2010 13:59:01 +0000 (-0400) Subject: xhci: Remove excessive printks with shared IRQs. X-Git-Tag: firefly_0821_release~9833^2~79^2^2~98 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d3da2b117a16523ad479c7983379f0c46df62744;p=firefly-linux-kernel-4.4.55.git xhci: Remove excessive printks with shared IRQs. commit 241b652f1995de138106afd2f2e4eda9f8a3c240 upstream. If the xHCI host controller shares an interrupt line with another device, the xHCI driver needs to check if the interrupt was generated by its hardware. Unfortunately, the user will see a ton of "Spurious interrupt." lines if the other hardware interrupts often. Lawrence found his dmesg output cluttered with this output when the xHCI host shared an interrupt with his i915 hardware. Remove the warning, as sharing an interrupt is a normal thing. This should be applied to the 2.6.36 stable tree. Signed-off-by: Sarah Sharp Reported-by: Lawrence Rust Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 48e60d166ff0..e7547d8b3d67 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2028,7 +2028,6 @@ irqreturn_t xhci_irq(struct usb_hcd *hcd) if (!(status & STS_EINT)) { spin_unlock(&xhci->lock); - xhci_warn(xhci, "Spurious interrupt.\n"); return IRQ_NONE; } xhci_dbg(xhci, "op reg status = %08x\n", status);