Commit 37cb8a58 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown
parent 8c8a13e8
...@@ -1141,11 +1141,9 @@ static int fsl_sai_probe(struct platform_device *pdev) ...@@ -1141,11 +1141,9 @@ static int fsl_sai_probe(struct platform_device *pdev)
goto err_pm_disable; goto err_pm_disable;
} }
ret = pm_runtime_get_sync(dev); ret = pm_runtime_resume_and_get(dev);
if (ret < 0) { if (ret < 0)
pm_runtime_put_noidle(dev);
goto err_pm_get_sync; goto err_pm_get_sync;
}
/* Get sai version */ /* Get sai version */
ret = fsl_sai_check_version(dev); ret = fsl_sai_check_version(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment