diff options
| author | Xu Rao <raoxu@uniontech.com> | 2026-07-09 13:46:41 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-10 15:16:26 +0200 |
| commit | 3a1c90aeb96a2ecd6c60fcb70437ea1e851a5692 (patch) | |
| tree | 4d3cddf54c90dfd2402b7c05dfca1801f748239d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9f66c01d68157c508190b5004e60c81317ac8d1e (diff) | |
usb: core: config: fix SS companion log for interrupt endpoints
usb_parse_ss_endpoint_companion() clears bmAttributes when it is
non-zero for control or interrupt endpoints.
The diagnostic message reports Control for control endpoints and Bulk
for the other branch. However, the other branch can only be an
interrupt endpoint because bulk endpoints are handled by the following
else-if branch.
Report the endpoint type as Interrupt instead of Bulk to avoid
misleading descriptor diagnostics.
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Xu Rao <raoxu@uniontech.com>
Link: https://patch.msgid.link/70C90942668659F9+20260709054641.346797-1-raoxu@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
