File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1602,7 +1602,7 @@ int bcm_qspi_probe(struct platform_device *pdev,
1602
1602
& qspi -> dev_ids [val ]);
1603
1603
if (ret < 0 ) {
1604
1604
dev_err (& pdev -> dev , "IRQ %s not found\n" , name );
1605
- goto qspi_probe_err ;
1605
+ goto qspi_unprepare_err ;
1606
1606
}
1607
1607
1608
1608
qspi -> dev_ids [val ].dev = qspi ;
@@ -1617,7 +1617,7 @@ int bcm_qspi_probe(struct platform_device *pdev,
1617
1617
if (!num_ints ) {
1618
1618
dev_err (& pdev -> dev , "no IRQs registered, cannot init driver\n" );
1619
1619
ret = - EINVAL ;
1620
- goto qspi_probe_err ;
1620
+ goto qspi_unprepare_err ;
1621
1621
}
1622
1622
1623
1623
bcm_qspi_hw_init (qspi );
@@ -1641,6 +1641,7 @@ int bcm_qspi_probe(struct platform_device *pdev,
1641
1641
1642
1642
qspi_reg_err :
1643
1643
bcm_qspi_hw_uninit (qspi );
1644
+ qspi_unprepare_err :
1644
1645
clk_disable_unprepare (qspi -> clk );
1645
1646
qspi_probe_err :
1646
1647
kfree (qspi -> dev_ids );
You can’t perform that action at this time.
0 commit comments