summarylogtreecommitdiffstats
path: root/0001-xhci-demote-annoying-warning.patch
blob: bc9de6f8ac11af91c14aa62f678eac3b034d10d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 547c7b5117fffa01d08036d368c2dd6db0ea55d4 Mon Sep 17 00:00:00 2001
From: Steven Noonan <steven@uplinklabs.net>
Date: Fri, 16 Sep 2016 10:15:49 -0700
Subject: [PATCH] xhci: demote annoying warning

Smart cards are always spewing this warning and it's getting on my
nerves.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
 drivers/usb/host/xhci-ring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 353520005c13..bf1641908710 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2496,7 +2496,7 @@ static int handle_tx_event(struct xhci_hcd *xhci,
 			if (!(trb_comp_code == COMP_STOPPED ||
 			      trb_comp_code == COMP_STOPPED_LENGTH_INVALID ||
 			      ep_ring->last_td_was_short)) {
-				xhci_warn(xhci, "WARN Event TRB for slot %d ep %d with no TDs queued?\n",
+				xhci_dbg(xhci, "WARN Event TRB for slot %d ep %d with no TDs queued?\n",
 						TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
 						ep_index);
 			}
-- 
2.15.1