diff options
| author | Niklas Neronin <[email protected]> | 2023-12-01 15:06:39 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-12-04 06:50:40 +0000 |
| commit | 5080ef2d373ada6fba2e7b86a56a93c8da909a46 (patch) | |
| tree | 03c5318030f917f33a4bf4a26d5eb884b668edda /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | xhci: dbc: Add missing headers (diff) | |
| download | kernel-5080ef2d373ada6fba2e7b86a56a93c8da909a46.tar.gz kernel-5080ef2d373ada6fba2e7b86a56a93c8da909a46.zip | |
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 <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions
