diff options
author | Niklas Neronin <niklas.neronin@linux.intel.com> | 2023-12-01 17:06:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-04 07:50:40 +0100 |
commit | 5080ef2d373ada6fba2e7b86a56a93c8da909a46 (patch) | |
tree | 03c5318030f917f33a4bf4a26d5eb884b668edda /drivers/usb/cdns3/cdns3-trace.c | |
parent | cdcaa870c7be7e421de5c33257d1b3cc074dc802 (diff) |
xhci: check if legacy irq is available before using it as fallback
Move the error check "No MSI-X/MSI found and no IRQ in BIOS" inside
'goto legacy'. It is better to check if the IRQ interrupt is available,
before trying to add a handler. Additionally the aforementioned error
message is much more clear.
Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231201150647.1307406-12-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions