crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
[linux.git] / drivers / crypto / allwinner / sun8i-ce / sun8i-ce-core.c
index 158422ff5695ce66a625ba0427d0cb386ba63684..00194d1d9ae69b153400505ef4b45474caa8ef5e 100644 (file)
@@ -932,7 +932,7 @@ static int sun8i_ce_probe(struct platform_device *pdev)
        if (err)
                goto error_alg;
 
-       err = pm_runtime_get_sync(ce->dev);
+       err = pm_runtime_resume_and_get(ce->dev);
        if (err < 0)
                goto error_alg;
 
This page took 0.036209 seconds and 4 git commands to generate.