projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: Intel: avs: Fix build error on arc, m68k and sparc
[linux-2.6-microblaze.git]
/
sound
/
soc
/
fsl
/
fsl_asrc.c
diff --git
a/sound/soc/fsl/fsl_asrc.c
b/sound/soc/fsl/fsl_asrc.c
index
ad4e674
..
20a9f8e
100644
(file)
--- a/
sound/soc/fsl/fsl_asrc.c
+++ b/
sound/soc/fsl/fsl_asrc.c
@@
-1211,11
+1211,9
@@
static int fsl_asrc_probe(struct platform_device *pdev)
goto err_pm_disable;
}
- ret = pm_runtime_get_sync(&pdev->dev);
- if (ret < 0) {
- pm_runtime_put_noidle(&pdev->dev);
+ ret = pm_runtime_resume_and_get(&pdev->dev);
+ if (ret < 0)
goto err_pm_get_sync;
- }
ret = fsl_asrc_init(asrc);
if (ret) {