mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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 <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>
This commit is contained in:
parent
f5985a8147
commit
a1de068215
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user