Hi Felipe,

> > This adds a config option USB_DWC2_DEBUG_PERIODIC that allows debugging
> > output be suppressed for periodic transfers. This helps when debugging
> > non-periodic transfers while there are also periodic transfers going on
> > (both to make the debug output less polluted and to prevent all CPU time
> > going to debug messages).
> > [...]
> > Signed-off-by: Matthijs Kooijman <matth...@stdin.nl>
>
> why don't you just use dynamic printk instead ?
In some cases, this could help, but a lot of the prints modified by this
patch are used for both periodic and non-periodic transfers. AFAIU, with
dynamic printks you could only enable/disable them altogether, not based
on some arbitrary condition (e.g., the urb being handled is targeted at
a periodic endpoint or not).

Gr.

Matthijs
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to