mbox series

[0/7] xhci rework interrupt enabling

Message ID 20231031115843.39272-1-niklas.neronin@linux.intel.com (mailing list archive)
Headers show
Series xhci rework interrupt enabling | expand

Message

Niklas Neronin Oct. 31, 2023, 11:58 a.m. UTC
This series reworks interrupt enabling in 'xhci-pci.c'.
Instead of MSI-X, MSI and legacy IRQ enabling being split
over three functions, rework them into one simple function.

Niklas Neronin (7):
  xhci: check if legacy irq is available before using it as fallback
  xhci: add handler for only one interrupt line
  xhci: refactor static MSI-X function
  xhci: refactor static MSI function
  xhci: change 'msix_count' to encompass MSI or MSI-X vectors
  xhci: rework 'xhci_try_enable_msi()' MSI and MSI-X setup code
  xhci: minor coding style cleanup in 'xhci_try_enable_msi()'

 drivers/usb/host/xhci-pci.c | 140 ++++++++++--------------------------
 drivers/usb/host/xhci.h     |   4 +-
 2 files changed, 41 insertions(+), 103 deletions(-)