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 | |
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>
-rw-r--r-- | arch/arm/configs/u8500_defconfig | 6 | ||||
-rw-r--r-- | arch/arm/mach-ux500/cpu.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ux500/cpuidle.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 231dca604737..426270fe080d 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig | |||
@@ -66,9 +66,9 @@ CONFIG_SPI=y | |||
66 | CONFIG_SPI_PL022=y | 66 | CONFIG_SPI_PL022=y |
67 | CONFIG_GPIO_STMPE=y | 67 | CONFIG_GPIO_STMPE=y |
68 | CONFIG_GPIO_TC3589X=y | 68 | CONFIG_GPIO_TC3589X=y |
69 | CONFIG_POWER_SUPPLY=y | 69 | # CONFIG_POWER_SUPPLY is not set |
70 | CONFIG_AB8500_BM=y | 70 | # CONFIG_AB8500_BM is not set |
71 | CONFIG_AB8500_BATTERY_THERM_ON_BATCTRL=y | 71 | # CONFIG_AB8500_BATTERY_THERM_ON_BATCTRL is not set |
72 | CONFIG_THERMAL=y | 72 | CONFIG_THERMAL=y |
73 | CONFIG_CPU_THERMAL=y | 73 | CONFIG_CPU_THERMAL=y |
74 | CONFIG_MFD_STMPE=y | 74 | CONFIG_MFD_STMPE=y |
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 */ |