File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1124,12 +1124,6 @@ static int nxp_fspi_probe(struct platform_device *pdev)
1124
1124
goto err_put_ctrl ;
1125
1125
}
1126
1126
1127
- /* Clear potential interrupts */
1128
- reg = fspi_readl (f , f -> iobase + FSPI_INTR );
1129
- if (reg )
1130
- fspi_writel (f , reg , f -> iobase + FSPI_INTR );
1131
-
1132
-
1133
1127
/* find the resources - controller memory mapped space */
1134
1128
if (is_acpi_node (f -> dev -> fwnode ))
1135
1129
res = platform_get_resource (pdev , IORESOURCE_MEM , 1 );
@@ -1167,6 +1161,11 @@ static int nxp_fspi_probe(struct platform_device *pdev)
1167
1161
}
1168
1162
}
1169
1163
1164
+ /* Clear potential interrupts */
1165
+ reg = fspi_readl (f , f -> iobase + FSPI_INTR );
1166
+ if (reg )
1167
+ fspi_writel (f , reg , f -> iobase + FSPI_INTR );
1168
+
1170
1169
/* find the irq */
1171
1170
ret = platform_get_irq (pdev , 0 );
1172
1171
if (ret < 0 )
You can’t perform that action at this time.
0 commit comments