diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-05-14 18:02:23 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-17 01:32:15 +0200 |
commit | f8269c19222550dd357e515673f628071880d64c (patch) | |
tree | 265159658442e42a23a28952651eb601f8965523 /drivers/cpufreq/cpufreq_userspace.c | |
parent | e54173b4ed0fca1a5dce9911f54e71f2917d4869 (diff) | |
download | talos-op-linux-f8269c19222550dd357e515673f628071880d64c.tar.gz talos-op-linux-f8269c19222550dd357e515673f628071880d64c.zip |
cpufreq: imx6q: Drop devm_clk/regulator_get usage
This driver is using devres managed calls incorrectly, giving the cpu0
device as first parameter instead of the cpufreq platform device.
This results in resources not being freed if the cpufreq platform device
is unbound, for example if probing has to be deferred for a missing
regulator.
Supporting probe deferral properly is a prerequisite to enabling the
internal LDO bypass on i.MX6 and regulating the CPU voltage with an
external regulator.
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_userspace.c')
0 files changed, 0 insertions, 0 deletions