staging: dwc2: toggle periodic debugging output separately
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 10 Apr 2013 07:55:50 +0000 (09:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 02:10:27 +0000 (19:10 -0700)
commitb49977a60dff529c1242f2d427774ea55885bc0b
tree1d01710b07dc52f2e99fa6b375d0fba4c26734cf
parent096e490a6ac1d0862cf688c47451e9333f39f314
staging: dwc2: toggle periodic debugging output separately

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).

In addition, a debug message from dwc2_hcd_is_status_changed is removed
entirely, since it often floods the log regardless of periodic
transfers.

Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
Cc: Paul Zimmerman <Paul.Zimmerman@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/Kconfig
drivers/staging/dwc2/core.c
drivers/staging/dwc2/hcd.c
drivers/staging/dwc2/hcd.h
drivers/staging/dwc2/hcd_intr.c
drivers/staging/dwc2/hcd_queue.c