]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xhci: trace debug messages related to driver initialization and unload
authorXenia Ragiadakou <burzalodowa@gmail.com>
Wed, 14 Aug 2013 03:33:55 +0000 (06:33 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 14 Aug 2013 04:14:43 +0000 (21:14 -0700)
commitd195fcffe4c82cc813cc43df5f27ab99ab38bc07
treefab955664be3befccf0444f87148b05d5eac8931
parentaa50b29061d3df896c494d92e9c8c2e1f295cc6e
xhci: trace debug messages related to driver initialization and unload

This patch defines a new trace event, which is called xhci_dbg_init
and belongs to the event class xhci_log_msg, and adds tracepoints that
trace the debug statements in the functions used to start and stop the
xhci-hcd driver.

Also, it removes an unnecessary cast of variable val to unsigned int
in xhci_mem_init(), since val is already declared as unsigned int.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-trace.h
drivers/usb/host/xhci.c