summarylogtreecommitdiffstats
path: root/0001-xhci-demote-annoying-warning.patch
blob: 7d5a38f6524b2cfb76a8e4dd1e21bb14cb1be631 (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 12ead4a6bf1c967e03955610e00ccabadfd3d58d 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 cc368ad2b51e..9a9188332dca 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2489,7 +2489,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);
 			}
-- 
2.14.1