]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xhci: Rate-limit XHCI_TRUST_TX_LENGTH quirk warning.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 25 Jul 2012 17:52:45 +0000 (10:52 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 7 Aug 2012 17:56:31 +0000 (10:56 -0700)
commit8202ce2e2921941098aa72894ac5d7b486a9d273
treefddb68a93b7d9c470bd17ac388cd89473bef22b8
parent5cb7df2b2d3afee7638b3ef23a5bcb89c6f07bd9
xhci: Rate-limit XHCI_TRUST_TX_LENGTH quirk warning.

When we encounter an xHCI host that needs the XHCI_TRUST_TX_LENGTH
quirk, the xHCI driver ends up spewing messages about the quirk into
dmesg every time a short packet occurs.  Change the xHCI driver to
rate-limit such warnings.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-by: Matthew Hall <mhall@mhcomputing.net>
Reported-by: Gary E. Miller <gem@rellim.com>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h