usb: xhci-mtk: use xhci_dbg() to print log
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 23 Sep 2021 07:14:47 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 10:52:39 +0000 (12:52 +0200)
Use xhci_dbg() to print log instead of xhci_err() due to it's not
error log.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210923071447.15688-1-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk-sch.c

index 134f478..1edef75 100644 (file)
@@ -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) {