summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/ks-sa-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/ks-sa-rng.c')
-rw-r--r--drivers/char/hw_random/ks-sa-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/ks-sa-rng.c b/drivers/char/hw_random/ks-sa-rng.c
index e2330e757f1f..001617033d6a 100644
--- a/drivers/char/hw_random/ks-sa-rng.c
+++ b/drivers/char/hw_random/ks-sa-rng.c
@@ -244,6 +244,7 @@ static int ks_sa_rng_probe(struct platform_device *pdev)
ret = pm_runtime_get_sync(dev);
if (ret < 0) {
dev_err(dev, "Failed to enable SA power-domain\n");
+ pm_runtime_put_noidle(dev);
pm_runtime_disable(dev);
return ret;
}