diff options
| author | Niklas Neronin <niklas.neronin@linux.intel.com> | 2025-11-19 17:24:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-21 16:53:00 +0300 |
| commit | 70651cc3f5a4c7cec529f121e36ea3b45ea84778 (patch) | |
| tree | 99d0233b5fb1293889bb9a5f3e128373c4cbb608 /tools/lib/python | |
| parent | 2085fa6c0f337dc30bb869bceceb641a48f03f0a (diff) | |
| download | linux-70651cc3f5a4c7cec529f121e36ea3b45ea84778.tar.xz | |
usb: xhci: use cached HCSPARAMS1 value
The Structural Parameters 1 (HCSPARAMS1) register is read and cached in
'xhci->hcs_params1' during host controller initialization. Since this
register is read-only and its value remains constant for the lifetime of
the controller, re-reading it later is unnecessary.
Replace subsequent register reads with the cached 'xhci->hcs_params1'
value to avoid redundant MMIO access.
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/20251119142417.2820519-15-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
