|
@@ -1654,10 +1654,6 @@ static int atmel_spi_probe(struct platform_device *pdev)
|
|
spi_writel(as, CR, SPI_BIT(FIFOEN));
|
|
spi_writel(as, CR, SPI_BIT(FIFOEN));
|
|
}
|
|
}
|
|
|
|
|
|
- /* go! */
|
|
|
|
- dev_info(&pdev->dev, "Atmel SPI Controller at 0x%08lx (irq %d)\n",
|
|
|
|
- (unsigned long)regs->start, irq);
|
|
|
|
-
|
|
|
|
pm_runtime_set_autosuspend_delay(&pdev->dev, AUTOSUSPEND_TIMEOUT);
|
|
pm_runtime_set_autosuspend_delay(&pdev->dev, AUTOSUSPEND_TIMEOUT);
|
|
pm_runtime_use_autosuspend(&pdev->dev);
|
|
pm_runtime_use_autosuspend(&pdev->dev);
|
|
pm_runtime_set_active(&pdev->dev);
|
|
pm_runtime_set_active(&pdev->dev);
|
|
@@ -1667,6 +1663,10 @@ static int atmel_spi_probe(struct platform_device *pdev)
|
|
if (ret)
|
|
if (ret)
|
|
goto out_free_dma;
|
|
goto out_free_dma;
|
|
|
|
|
|
|
|
+ /* go! */
|
|
|
|
+ dev_info(&pdev->dev, "Atmel SPI Controller at 0x%08lx (irq %d)\n",
|
|
|
|
+ (unsigned long)regs->start, irq);
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
out_free_dma:
|
|
out_free_dma:
|