|
@@ -1292,8 +1292,6 @@ static int s3c64xx_spi_resume(struct device *dev)
|
|
if (ret < 0)
|
|
if (ret < 0)
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
- s3c64xx_spi_hwinit(sdd);
|
|
|
|
-
|
|
|
|
return spi_master_resume(master);
|
|
return spi_master_resume(master);
|
|
}
|
|
}
|
|
#endif /* CONFIG_PM_SLEEP */
|
|
#endif /* CONFIG_PM_SLEEP */
|
|
@@ -1331,6 +1329,8 @@ static int s3c64xx_spi_runtime_resume(struct device *dev)
|
|
if (ret != 0)
|
|
if (ret != 0)
|
|
goto err_disable_src_clk;
|
|
goto err_disable_src_clk;
|
|
|
|
|
|
|
|
+ s3c64xx_spi_hwinit(sdd);
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
err_disable_src_clk:
|
|
err_disable_src_clk:
|