USB: xhci: correctly enable interrupts

commit 00eed9c814cb8f281be6f0f5d8f45025dc0a97eb upstream.

xhci has its own interrupt enabling routine, which will try to
use MSI-X/MSI if present. So the usb core shouldn't try to enable
legacy interrupts; on some machines the xhci legacy IRQ setting
is invalid.

v3: Be careful to not break XHCI_BROKEN_MSI workaround (by trenn)

Cc: Bjorn Helgaas <>
Cc: Oliver Neukum <>
Cc: Thomas Renninger <>
Cc: Yinghai Lu <>
Cc: Frederik Himpe <>
Cc: David Haerdeman <>
Cc: Alan Stern <>
Acked-by: Sarah Sharp <>
Reviewed-by: Thomas Renninger <>
Signed-off-by: Hannes Reinecke <>
Signed-off-by: Greg Kroah-Hartman <>
Signed-off-by: Ben Hutchings <>
2 files changed