diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2024-04-29 17:02:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-01 08:47:13 +0200 |
commit | 63a1f8454962a64746a59441687dc2401290326c (patch) | |
tree | f79bffa01d0dce747892a201e1ce46e899a280d1 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 9b780c845fb60e1c0f5ec192fee835c72142173b (diff) |
xhci: stored cached port capability values in one place
Port capability flags for USB2 ports have been cached in an
u32 xhci->ext_caps[] array long before the driver had struct xhci_port
and struct xhci_port_cap structures.
Move these cached USB2 port capability values together with the other
port capability values into struct xhci_port_cap cability structure.
This also gets rid of the cumbersome way of mapping port to USB2
capability based on portnum as each port has a pointer to its capability
structure.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240429140245.3955523-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions