summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/imx7-cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/imx7-cpufreq.c')
-rw-r--r--drivers/cpufreq/imx7-cpufreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/imx7-cpufreq.c b/drivers/cpufreq/imx7-cpufreq.c
index 4bf851360458..ca5d38fff080 100644
--- a/drivers/cpufreq/imx7-cpufreq.c
+++ b/drivers/cpufreq/imx7-cpufreq.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -151,6 +151,7 @@ static int imx7_cpufreq_pm_notify(struct notifier_block *nb,
}
cpufreq_update_policy(0);
+ cpufreq_cpu_put(data);
return NOTIFY_OK;
}