diff options
author | Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com> | 2023-03-17 17:47:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-23 17:25:22 +0100 |
commit | ed526ba2ecdfb77bcdbcf4331b8380b646252c20 (patch) | |
tree | 40462ab813b6921a1800f61bf42e06d66ce11618 /drivers/usb/chipidea/debug.c | |
parent | fabbd95cc47cc412e68d03476367046f4cdbd838 (diff) | |
download | linux-ed526ba2ecdfb77bcdbcf4331b8380b646252c20.tar.gz linux-ed526ba2ecdfb77bcdbcf4331b8380b646252c20.tar.bz2 linux-ed526ba2ecdfb77bcdbcf4331b8380b646252c20.zip |
xhci: move PCI specific MSI/MSIX cleanup away from generic xhci functions
Call the PCI specific MSI/MSIX interrupt freeing code from the xhci-pci
callbacks instead of generic xhci code, decoupling PCI parts from
generic xhci functions.
Adds xhci_pci_stop() that overrides xhci_stop() for PCI xHC controllers.
This will free MSIX interrupts a bit later in the hc_driver stop
callback, but is still earlier than usb core frees "legacy" interrupts,
or interrupts for other hosts.
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20230317154715.535523-12-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
0 files changed, 0 insertions, 0 deletions