diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-26 00:25:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-26 00:25:17 -0500 |
commit | c41b3810c09e60664433548c5218cc6ece6a8903 (patch) | |
tree | cf9d822e3216d57a0ba3a184e9d586ad7bdf370c /drivers/cpufreq | |
parent | 556f12f602ac0a18a82ca83e9f8e8547688fc633 (diff) | |
parent | 4383822020c54c21eb2eb939a3233b44a51e8ca0 (diff) |
Merge tag 'pm+acpi-fixes-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI and power management fixes from Rafael Wysocki:
- Fixes for blackfin and microblaze build problems introduced by the
removal of global pm_idle. From Lars-Peter Clausen.
- OPP core build fix from Shawn Guo.
- Error condition check fix for the new imx6q-cpufreq driver from Wei
Yongjun.
- Fix for an AER driver crash related to the lack of APEI
initialization for acpi=off. From Rafael J Wysocki.
- Fix for a USB breakage on Thinkpad T430 related to ACPI power
resources and PCI wakeup from Rafael J. Wysocki.
* tag 'pm+acpi-fixes-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI / PM: Take unusual configurations of power resources into account
imx6q-cpufreq: fix return value check in imx6q_cpufreq_probe()
PM / OPP: fix condition for empty of_init_opp_table()
ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off
microblaze idle: Fix compile error
blackfin idle: Fix compile error
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/imx6q-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index d6b6ef350cb6..54e336de373b 100644 --- a/drivers/cpufreq/imx6q-cpufreq.c +++ b/drivers/cpufreq/imx6q-cpufreq.c | |||
@@ -245,7 +245,7 @@ static int imx6q_cpufreq_probe(struct platform_device *pdev) | |||
245 | arm_reg = devm_regulator_get(cpu_dev, "arm"); | 245 | arm_reg = devm_regulator_get(cpu_dev, "arm"); |
246 | pu_reg = devm_regulator_get(cpu_dev, "pu"); | 246 | pu_reg = devm_regulator_get(cpu_dev, "pu"); |
247 | soc_reg = devm_regulator_get(cpu_dev, "soc"); | 247 | soc_reg = devm_regulator_get(cpu_dev, "soc"); |
248 | if (!arm_reg || !pu_reg || !soc_reg) { | 248 | if (IS_ERR(arm_reg) || IS_ERR(pu_reg) || IS_ERR(soc_reg)) { |
249 | dev_err(cpu_dev, "failed to get regulators\n"); | 249 | dev_err(cpu_dev, "failed to get regulators\n"); |
250 | ret = -ENOENT; | 250 | ret = -ENOENT; |
251 | goto put_node; | 251 | goto put_node; |