summaryrefslogtreecommitdiffstats
path: root/drivers/power/avs/smartreflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/avs/smartreflex.c')
-rw-r--r--drivers/power/avs/smartreflex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c
index 8760477d0..5ac122cd2 100644
--- a/drivers/power/avs/smartreflex.c
+++ b/drivers/power/avs/smartreflex.c
@@ -984,6 +984,7 @@ static int omap_sr_probe(struct platform_device *pdev)
err_debugfs:
debugfs_remove_recursive(sr_info->dbg_dir);
err_list_del:
+ pm_runtime_disable(&pdev->dev);
list_del(&sr_info->node);
pm_runtime_put_sync(&pdev->dev);