summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorNiklas Neronin <niklas.neronin@linux.intel.com>2025-11-19 17:24:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-21 16:53:00 +0300
commit70651cc3f5a4c7cec529f121e36ea3b45ea84778 (patch)
tree99d0233b5fb1293889bb9a5f3e128373c4cbb608 /tools/lib/python
parent2085fa6c0f337dc30bb869bceceb641a48f03f0a (diff)
downloadlinux-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