xhci: Be less verbose during URB cancellation.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 20 Dec 2011 00:56:04 +0000 (16:56 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 23 Dec 2011 00:12:42 +0000 (16:12 -0800)
commit79688acfb5e124fcf586add00af32a2a1a532c64
tree404ae896ab4dfefc16a1bc802da0108cc7ee0496
parent1ba6108f5fc02f04784e7206ed08d10805035507
xhci: Be less verbose during URB cancellation.

With devices that can need up to 128 segments (with 64 TRBs per
segment), we can't afford to print out the entire endpoint ring every
time an URB is canceled.  Instead, print the offset of the TRB, along
with device pathname and endpoint number.

Only print DMA addresses, since virtual addresses of internal structures
are not useful.  Change the cancellation code to be more clear about
what steps of the cancellation it is in the process of doing (queueing
the request, handling the stop endpoint command, turning the TDs into
no-ops, or moving the dequeue pointers).

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