aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-starfive.c
diff options
context:
space:
mode:
authorNiklas Neronin <[email protected]>2024-11-06 10:14:51 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-06 12:26:15 +0000
commit34fee04e7bdc4eb28385de31918fd74e57bb5dd2 (patch)
tree0d85033b5479947cb42ae9cf7acf90375ee2d0b3 /drivers/usb/cdns3/cdns3-starfive.c
parentusb: xhci: move link TRB quirk to xhci_gen_setup() (diff)
downloadkernel-34fee04e7bdc4eb28385de31918fd74e57bb5dd2.tar.gz
kernel-34fee04e7bdc4eb28385de31918fd74e57bb5dd2.zip
usb: xhci: request MSI/-X according to requested amount
Variable 'max_interrupters' contains the maximum supported interrupters or the maximum interrupters the user has requested. Thus, it should be used instead of HCS_MAX_INTRS(). User set 'max_interrupters' value is validated in xhci_gen_setup(), otherwise 'max_interrupters' value is 'HCS_MAX_INTRS(xhci->hcs_params1)'. Signed-off-by: Niklas Neronin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions