File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1827,6 +1827,11 @@ static int kvaser_pciefd_probe(struct pci_dev *pdev,
1827
1827
if (err )
1828
1828
goto err_teardown_can_ctrls ;
1829
1829
1830
+ err = request_irq (pcie -> pci -> irq , kvaser_pciefd_irq_handler ,
1831
+ IRQF_SHARED , KVASER_PCIEFD_DRV_NAME , pcie );
1832
+ if (err )
1833
+ goto err_teardown_can_ctrls ;
1834
+
1830
1835
iowrite32 (KVASER_PCIEFD_SRB_IRQ_DPD0 | KVASER_PCIEFD_SRB_IRQ_DPD1 ,
1831
1836
pcie -> reg_base + KVASER_PCIEFD_SRB_IRQ_REG );
1832
1837
@@ -1847,11 +1852,6 @@ static int kvaser_pciefd_probe(struct pci_dev *pdev,
1847
1852
iowrite32 (KVASER_PCIEFD_SRB_CMD_RDB1 ,
1848
1853
pcie -> reg_base + KVASER_PCIEFD_SRB_CMD_REG );
1849
1854
1850
- err = request_irq (pcie -> pci -> irq , kvaser_pciefd_irq_handler ,
1851
- IRQF_SHARED , KVASER_PCIEFD_DRV_NAME , pcie );
1852
- if (err )
1853
- goto err_teardown_can_ctrls ;
1854
-
1855
1855
err = kvaser_pciefd_reg_candev (pcie );
1856
1856
if (err )
1857
1857
goto err_free_irq ;
You can’t perform that action at this time.
0 commit comments