xhci:prevent "callbacks suppressed" when debug is not enabled
authorDmitry Kasatkin <d.kasatkin@samsung.com>
Tue, 27 Aug 2013 14:47:35 +0000 (17:47 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 27 Aug 2013 15:56:31 +0000 (08:56 -0700)
commit0730d52a86919300a39a2be37f6c140997dfb82f
tree979f7565e78c3afbefdfcebea40a8aab354673c6
parentdcf06a036848b4e8e6c8220f2e00b9adf6f84918
xhci:prevent "callbacks suppressed" when debug is not enabled

When debug is not enabled and dev_dbg() will expand to nothing,
log might be flooded with "callbacks suppressed". If it was not
done on purpose, better to use dev_dbg_ratelimited() instead.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c