summaryrefslogtreecommitdiff
path: root/drivers/soc/ti/smartreflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soc/ti/smartreflex.c')
-rw-r--r--drivers/soc/ti/smartreflex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/ti/smartreflex.c b/drivers/soc/ti/smartreflex.c
index 5376f3d22f31..1228a0cba132 100644
--- a/drivers/soc/ti/smartreflex.c
+++ b/drivers/soc/ti/smartreflex.c
@@ -942,6 +942,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);