diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-08 18:57:41 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-08 18:57:41 -0400 |
commit | fce680e9faaa8acc0ab0a931c5fa823b581cbab0 (patch) | |
tree | c96026ec637128c21c665a733db5594ebebbb5a4 /arch/arm/plat-omap | |
parent | 5e090ed7af10729a396a25df43d69a236e789736 (diff) | |
parent | ce3810cdb4ca31238c87e095d2c494a5eaa4f65d (diff) |
Merge tag 'for_3.7-fixes-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-v3.7-rc1/fixes-pm
OMAP PM related fixes for v3.7-rc
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/plat-omap/omap_device.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index ca83a7659aef..d30f480ccd12 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig | |||
@@ -48,6 +48,7 @@ config OMAP_DEBUG_LEDS | |||
48 | config POWER_AVS_OMAP | 48 | config POWER_AVS_OMAP |
49 | bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2" | 49 | bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2" |
50 | depends on POWER_AVS && (ARCH_OMAP3 || ARCH_OMAP4) && PM | 50 | depends on POWER_AVS && (ARCH_OMAP3 || ARCH_OMAP4) && PM |
51 | select POWER_SUPPLY | ||
51 | help | 52 | help |
52 | Say Y to enable AVS(Adaptive Voltage Scaling) | 53 | Say Y to enable AVS(Adaptive Voltage Scaling) |
53 | support on OMAP containing the version 1 or | 54 | support on OMAP containing the version 1 or |
diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index cee85a55bd82..7a7d1f2a65e9 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c | |||
@@ -725,7 +725,7 @@ struct platform_device __init *omap_device_build_ss(const char *pdev_name, int p | |||
725 | dev_set_name(&pdev->dev, "%s", pdev->name); | 725 | dev_set_name(&pdev->dev, "%s", pdev->name); |
726 | 726 | ||
727 | od = omap_device_alloc(pdev, ohs, oh_cnt, pm_lats, pm_lats_cnt); | 727 | od = omap_device_alloc(pdev, ohs, oh_cnt, pm_lats, pm_lats_cnt); |
728 | if (!od) | 728 | if (IS_ERR(od)) |
729 | goto odbs_exit1; | 729 | goto odbs_exit1; |
730 | 730 | ||
731 | ret = platform_device_add_data(pdev, pdata, pdata_len); | 731 | ret = platform_device_add_data(pdev, pdata, pdata_len); |