]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/2.6.36.2/xhci-remove-excessive-printks-with-shared-irqs.patch
Fixes for 5.10
[thirdparty/kernel/stable-queue.git] / releases / 2.6.36.2 / xhci-remove-excessive-printks-with-shared-irqs.patch
CommitLineData
3d6a91bc
GKH
1From 241b652f1995de138106afd2f2e4eda9f8a3c240 Mon Sep 17 00:00:00 2001
2From: Sarah Sharp <sarah.a.sharp@linux.intel.com>
3Date: Fri, 5 Nov 2010 09:59:01 -0400
4Subject: xhci: Remove excessive printks with shared IRQs.
5
6From: Sarah Sharp <sarah.a.sharp@linux.intel.com>
7
8commit 241b652f1995de138106afd2f2e4eda9f8a3c240 upstream.
9
10If the xHCI host controller shares an interrupt line with another device,
11the xHCI driver needs to check if the interrupt was generated by its
12hardware. Unfortunately, the user will see a ton of "Spurious interrupt."
13lines if the other hardware interrupts often. Lawrence found his dmesg
14output cluttered with this output when the xHCI host shared an interrupt
15with his i915 hardware.
16
17Remove the warning, as sharing an interrupt is a normal thing.
18
19This should be applied to the 2.6.36 stable tree.
20
21Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
22Reported-by: Lawrence Rust <lvr@softsystem.co.uk>
23Signed-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);