]> git.baikalelectronics.ru Git - kernel.git/commit
usb/xhci: group MSI interrupt registration into its own function
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 23 Sep 2011 21:19:57 +0000 (14:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 22:51:12 +0000 (15:51 -0700)
commit5e6fee757bc839e583b50a09a83660211c9d2e81
treefc89e1e28394c202b69b5903094aa99414c35b25
parent12cc1d7dd8315f72965a3bd7e86926b93a4884e6
usb/xhci: group MSI interrupt registration into its own function

This patch moves the complete MSI/MSI-X/Legacy dance into its own
function. There is however one difference: If the XHCI_BROKEN_MSI flag
is set then we don't free and register the irq, we simply return.
This is preparation for later PCI decouple.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci.c