diff options
| author | 2026-04-02 16:13:23 +0300 | |
|---|---|---|
| committer | 2026-04-02 15:55:37 +0200 | |
| commit | 0837c87f95295798bcb16981271fbb9adf766eb1 (patch) | |
| tree | c9629b3b90233afb7fcc3226ed41143242dcfab2 /scripts/Makefile.thinlto | |
| parent | usb: xhci: relocate Restore/Controller error check (diff) | |
usb: xhci: factor out roothub bandwidth cleanup
Introduce xhci_rh_bw_cleanup() to release all bandwidth tracking
structures associated with xHCI roothub ports.
The new helper clears:
* TT bandwidth entries
* Per-interval endpoint lists
This refactors and consolidates the existing per-port cleanup logic
previously embedded in xhci_mem_cleanup(), reducing duplication and
making the teardown sequence easier to follow.
The helper will also be reused for upcoming S4 resume handling.
Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://patch.msgid.link/20260402131342.2628648-7-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
