We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80ed97 commit 4a7d78cCopy full SHA for 4a7d78c
drivers/net/ethernet/microchip/sparx5/sparx5_main.c
@@ -784,8 +784,9 @@ static int sparx5_start(struct sparx5 *sparx5)
784
785
/* Start Frame DMA with fallback to register based INJ/XTR */
786
err = -ENXIO;
787
- if (sparx5->fdma_irq >= 0 && is_sparx5(sparx5)) {
788
- if (GCB_CHIP_ID_REV_ID_GET(sparx5->chip_id) > 0)
+ if (sparx5->fdma_irq >= 0) {
+ if (GCB_CHIP_ID_REV_ID_GET(sparx5->chip_id) > 0 ||
789
+ !is_sparx5(sparx5))
790
err = devm_request_irq(sparx5->dev,
791
sparx5->fdma_irq,
792
sparx5_fdma_handler,
0 commit comments