Skip to contentSkip to conversation

usb: xhci-mtk: use xhci_dbg() to print log

PATCH New Chunfeng Yun 1 participant 1 message Sep 23, 2021

Subsystems (4)
lore
Share & tools
lore

Chunfeng Yun

author maintainer
#0 lore raw

PATCH 1/1 usb: xhci-mtk: use xhci_dbg() to print log

Use xhci_dbg() to print log instead of xhci_err() due to it's not error log.

---
 drivers/usb/host/xhci-mtk-sch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/xhci-mtk-sch.c +1 -1
index 134f4789bd89..1edef7527c11 100644
@@ -734,7 +734,7 @@ static void drop_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev,
 	if (!need_bw_sch(udev, ep))
 		return;
 
-	xhci_err(xhci, "%s %s\n", __func__, decode_ep(ep, udev->speed));
+	xhci_dbg(xhci, "%s %s\n", __func__, decode_ep(ep, udev->speed));
 
 	hash_for_each_possible_safe(mtk->sch_ep_hash, sch_ep,
 				    hn, hentry, (unsigned long)ep) {
Signature · 1 line
2.18.0