diff options
| author | Lu Baolu <[email protected]> | 2016-11-11 15:13:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-11-14 10:18:22 +0100 |
| commit | f4c8f03ca31a9cf4c122780ea693d145658ba397 (patch) | |
| tree | 860dd27940572964fa2d680e81f20b408cd472a9 /tools/perf/scripts/python/bin | |
| parent | 2a72126de1bb08594246a96347f7527bbef7e2df (diff) | |
usb: xhci: clean up error_bitmask usage
In xhci_handle_event(), when errors are detected, driver always sets
a bit in error_bitmask (one member of the xhci private driver data).
That means users have to retrieve and decode the value of error_bitmask
in xhci private driver data if they want to know whether those erros
ever happened in xhci_handle_event(). Otherwise, those errors are just
ignored silently.
This patch cleans up this by replacing the setting of error_bitmask
with the kernel print functions, so that users can easily check and
report the errors happened in xhci_handle_event().
Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions