aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500-pins.c
diff options
context:
space:
mode:
authorRejane Durand <rejane.durand@stericsson.com>2011-10-25 16:24:51 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-02-16 11:23:58 +0100
commitc280f931efc6999146d9ecbb9b649be705af88ed (patch)
treefd6c0e5e4359f92f41c114fd51ea0591b9b28e79 /arch/arm/mach-ux500/board-mop500-pins.c
parent0c8130661544759eac26b76d1de6f3b38211d535 (diff)
[U9500] Correct the U9500 identification
With a u9500-100 software, "pins_for_u9500" as well as "machine_is_hrefv60" returns true. So, if "machine_is_hrefv60" is tested before "pins_for_u9500", the u9500 specifics will never be applied. ST-Ericsson ID: 369957 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I33aacae5948174187dff80a51692938d49184f80 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35238 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Rejane DURAND <rejane.durand@stericsson.com> Tested-by: Rejane DURAND <rejane.durand@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500-pins.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500-pins.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c
index 7aacc1e8a32..31eaa0dacbb 100644
--- a/arch/arm/mach-ux500/board-mop500-pins.c
+++ b/arch/arm/mach-ux500/board-mop500-pins.c
@@ -886,22 +886,22 @@ static void mop500_pins_suspend_force(void)
sleep_pins_config_pm(mop500_pins_common_power_save_bank5,
ARRAY_SIZE(mop500_pins_common_power_save_bank5));
- if (machine_is_hrefv60())
- sleep_pins_config_pm(mop500_pins_common_power_save_bank6_href60,
- ARRAY_SIZE(mop500_pins_common_power_save_bank6_href60));
- else if (pins_for_u9500())
+ if (pins_for_u9500())
sleep_pins_config_pm(mop500_pins_common_power_save_bank6_u9500,
ARRAY_SIZE(mop500_pins_common_power_save_bank6_u9500));
+ else if (machine_is_hrefv60())
+ sleep_pins_config_pm(mop500_pins_common_power_save_bank6_href60,
+ ARRAY_SIZE(mop500_pins_common_power_save_bank6_href60));
else
sleep_pins_config_pm(mop500_pins_common_power_save_bank6,
ARRAY_SIZE(mop500_pins_common_power_save_bank6));
- if (machine_is_hrefv60())
- sleep_pins_config_pm(mop500_pins_common_power_save_bank7_href60,
- ARRAY_SIZE(mop500_pins_common_power_save_bank7_href60));
- else if (pins_for_u9500())
+ if (pins_for_u9500())
sleep_pins_config_pm(mop500_pins_common_power_save_bank7_u9500,
ARRAY_SIZE(mop500_pins_common_power_save_bank7_u9500));
+ else if (machine_is_hrefv60())
+ sleep_pins_config_pm(mop500_pins_common_power_save_bank7_href60,
+ ARRAY_SIZE(mop500_pins_common_power_save_bank7_href60));
else
sleep_pins_config_pm(mop500_pins_common_power_save_bank7,
ARRAY_SIZE(mop500_pins_common_power_save_bank7));