We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1ec89 commit f83fc1aCopy full SHA for f83fc1a
drivers/crypto/omap-sham.c
@@ -2198,6 +2198,7 @@ static int omap_sham_probe(struct platform_device *pdev)
2198
list_del(&dd->list);
2199
spin_unlock(&sham.lock);
2200
err_pm:
2201
+ pm_runtime_dont_use_autosuspend(dev);
2202
pm_runtime_disable(dev);
2203
if (!dd->polling_mode)
2204
dma_release_channel(dd->dma_lch);
@@ -2225,6 +2226,7 @@ static int omap_sham_remove(struct platform_device *pdev)
2225
2226
dd->pdata->algs_info[i].registered--;
2227
}
2228
tasklet_kill(&dd->done_task);
2229
+ pm_runtime_dont_use_autosuspend(&pdev->dev);
2230
pm_runtime_disable(&pdev->dev);
2231
2232
0 commit comments