summarylogtreecommitdiffstats
path: root/0001-xhci-demote-annoying-warning.patch
blob: 5381388f84c7163fe113eda68a02ba3dc07df260 (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 d34337e4d84eba344233db7ab433c86aa7377311 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 a3309aa02993..f096d88cf347 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2399,7 +2399,7 @@ static int handle_tx_event(struct xhci_hcd *xhci,
 			 */
 			if (!(trb_comp_code == COMP_STOPPED ||
 				trb_comp_code == COMP_STOPPED_LENGTH_INVALID)) {
-				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);
 				xhci_dbg(xhci, "Event TRB with TRB type ID %u\n",
-- 
2.11.0