diff options
author | Olof Johansson <olof@lixom.net> | 2013-01-28 17:05:16 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-28 17:05:28 -0500 |
commit | 3c2b251e88c0e7469be293afc240362bcc4c5b5a (patch) | |
tree | 927aa2bb385780f7bb44339995cf43a62520600e /arch/arm/mach-ux500 | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) | |
parent | 579400166a744890b2a67ca21765b5b6dc649441 (diff) |
Merge tag 'ux500-fixes-for-v3.8' of http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into fixes
From Linus Walleij:
- U9540 boot regression fix due to new clock framework
- Configure out the yet instable battery management driver
- Adjust cache initilization per SoC family
* tag 'ux500-fixes-for-v3.8' of http://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
ARM: ux500: Fix u9540 booting issues
ARM: ux500: add spin_unlock(&master_lock).
ARM: ux500: Disable Power Supply and Battery Management by default
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/cpu.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ux500/cpuidle.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index 721e7b4275f3..d4dcec53171a 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c | |||
@@ -71,13 +71,11 @@ void __init ux500_init_irq(void) | |||
71 | * Init clocks here so that they are available for system timer | 71 | * Init clocks here so that they are available for system timer |
72 | * initialization. | 72 | * initialization. |
73 | */ | 73 | */ |
74 | if (cpu_is_u8500_family()) | 74 | if (cpu_is_u8500_family() || cpu_is_u9540()) |
75 | db8500_prcmu_early_init(); | 75 | db8500_prcmu_early_init(); |
76 | 76 | ||
77 | if (cpu_is_u8500_family()) | 77 | if (cpu_is_u8500_family() || cpu_is_u9540()) |
78 | u8500_clk_init(); | 78 | u8500_clk_init(); |
79 | else if (cpu_is_u9540()) | ||
80 | u9540_clk_init(); | ||
81 | else if (cpu_is_u8540()) | 79 | else if (cpu_is_u8540()) |
82 | u8540_clk_init(); | 80 | u8540_clk_init(); |
83 | } | 81 | } |
diff --git a/arch/arm/mach-ux500/cpuidle.c b/arch/arm/mach-ux500/cpuidle.c index b54884bd2549..ce9149302cc3 100644 --- a/arch/arm/mach-ux500/cpuidle.c +++ b/arch/arm/mach-ux500/cpuidle.c | |||
@@ -40,8 +40,10 @@ static inline int ux500_enter_idle(struct cpuidle_device *dev, | |||
40 | goto wfi; | 40 | goto wfi; |
41 | 41 | ||
42 | /* decouple the gic from the A9 cores */ | 42 | /* decouple the gic from the A9 cores */ |
43 | if (prcmu_gic_decouple()) | 43 | if (prcmu_gic_decouple()) { |
44 | spin_unlock(&master_lock); | ||
44 | goto out; | 45 | goto out; |
46 | } | ||
45 | 47 | ||
46 | /* If an error occur, we will have to recouple the gic | 48 | /* If an error occur, we will have to recouple the gic |
47 | * manually */ | 49 | * manually */ |