]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usb: xhci: remove excessive isoc frame debug message spam
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Thu, 5 Sep 2024 14:32:52 +0000 (17:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2024 14:39:22 +0000 (16:39 +0200)
The removed debug messages trigger each time an isoc frame is handled.
In case of an error, a dedicated debug message exists.

For example, a 60fps USB camera will trigger the debug message every 0.6s.

Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240905143300.1959279-5-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c

index 4ea2c3e072a9e3d6f77e48f6154c3a3f9bb9a848..e1c9838084bfc0d15973d27de550d391be3a7929 100644 (file)
@@ -3941,10 +3941,6 @@ static int xhci_get_isoc_frame_id(struct xhci_hcd *xhci,
        start_frame_id = (start_frame_id >> 3) & 0x7ff;
        end_frame_id = (end_frame_id >> 3) & 0x7ff;
 
-       xhci_dbg(xhci, "%s: index %d, reg 0x%x start_frame_id 0x%x, end_frame_id 0x%x, start_frame 0x%x\n",
-                __func__, index, readl(&xhci->run_regs->microframe_index),
-                start_frame_id, end_frame_id, start_frame);
-
        if (start_frame_id < end_frame_id) {
                if (start_frame > end_frame_id ||
                                start_frame < start_frame_id)