Skip to content

Commit a1de068

Browse files
Epicuriusgregkh
authored andcommitted
usb: xhci: remove excessive isoc frame debug message spam
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 <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f5985a8 commit a1de068

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/usb/host/xhci-ring.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3941,10 +3941,6 @@ static int xhci_get_isoc_frame_id(struct xhci_hcd *xhci,
39413941
start_frame_id = (start_frame_id >> 3) & 0x7ff;
39423942
end_frame_id = (end_frame_id >> 3) & 0x7ff;
39433943

3944-
xhci_dbg(xhci, "%s: index %d, reg 0x%x start_frame_id 0x%x, end_frame_id 0x%x, start_frame 0x%x\n",
3945-
__func__, index, readl(&xhci->run_regs->microframe_index),
3946-
start_frame_id, end_frame_id, start_frame);
3947-
39483944
if (start_frame_id < end_frame_id) {
39493945
if (start_frame > end_frame_id ||
39503946
start_frame < start_frame_id)

0 commit comments

Comments
 (0)