]>
Commit | Line | Data |
---|---|---|
3d6a91bc GKH |
1 | From 241b652f1995de138106afd2f2e4eda9f8a3c240 Mon Sep 17 00:00:00 2001 |
2 | From: Sarah Sharp <sarah.a.sharp@linux.intel.com> | |
3 | Date: Fri, 5 Nov 2010 09:59:01 -0400 | |
4 | Subject: xhci: Remove excessive printks with shared IRQs. | |
5 | ||
6 | From: Sarah Sharp <sarah.a.sharp@linux.intel.com> | |
7 | ||
8 | commit 241b652f1995de138106afd2f2e4eda9f8a3c240 upstream. | |
9 | ||
10 | If the xHCI host controller shares an interrupt line with another device, | |
11 | the xHCI driver needs to check if the interrupt was generated by its | |
12 | hardware. Unfortunately, the user will see a ton of "Spurious interrupt." | |
13 | lines if the other hardware interrupts often. Lawrence found his dmesg | |
14 | output cluttered with this output when the xHCI host shared an interrupt | |
15 | with his i915 hardware. | |
16 | ||
17 | Remove the warning, as sharing an interrupt is a normal thing. | |
18 | ||
19 | This should be applied to the 2.6.36 stable tree. | |
20 | ||
21 | Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> | |
22 | Reported-by: Lawrence Rust <lvr@softsystem.co.uk> | |
23 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
24 | ||
25 | --- | |
26 | drivers/usb/host/xhci-ring.c | 1 - | |
27 | 1 file changed, 1 deletion(-) | |
28 | ||
29 | --- a/drivers/usb/host/xhci-ring.c | |
30 | +++ b/drivers/usb/host/xhci-ring.c | |
31 | @@ -2028,7 +2028,6 @@ irqreturn_t xhci_irq(struct usb_hcd *hcd | |
32 | ||
33 | if (!(status & STS_EINT)) { | |
34 | spin_unlock(&xhci->lock); | |
35 | - xhci_warn(xhci, "Spurious interrupt.\n"); | |
36 | return IRQ_NONE; | |
37 | } | |
38 | xhci_dbg(xhci, "op reg status = %08x\n", status); |