Commit 0be32d2f authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'samsung-fixes-1' of...

Merge tag 'samsung-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into fixes

Merge "Samsung fixes for v4.0" from Kukjin Kim:

* tag samsung-fixes-1:
  ARM: EXYNOS: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC
  ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency
parents 3c02bfc4 ace283a0
...@@ -126,8 +126,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious) ...@@ -126,8 +126,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious)
*/ */
void exynos_cpu_power_down(int cpu) void exynos_cpu_power_down(int cpu)
{ {
if (cpu == 0 && (of_machine_is_compatible("samsung,exynos5420") || if (cpu == 0 && (soc_is_exynos5420() || soc_is_exynos5800())) {
of_machine_is_compatible("samsung,exynos5800"))) {
/* /*
* Bypass power down for CPU0 during suspend. Check for * Bypass power down for CPU0 during suspend. Check for
* the SYS_PWR_REG value to decide if we are suspending * the SYS_PWR_REG value to decide if we are suspending
......
...@@ -87,8 +87,8 @@ static unsigned int exynos_pmu_spare3; ...@@ -87,8 +87,8 @@ static unsigned int exynos_pmu_spare3;
static u32 exynos_irqwake_intmask = 0xffffffff; static u32 exynos_irqwake_intmask = 0xffffffff;
static const struct exynos_wkup_irq exynos3250_wkup_irq[] = { static const struct exynos_wkup_irq exynos3250_wkup_irq[] = {
{ 73, BIT(1) }, /* RTC alarm */ { 105, BIT(1) }, /* RTC alarm */
{ 74, BIT(2) }, /* RTC tick */ { 106, BIT(2) }, /* RTC tick */
{ /* sentinel */ }, { /* sentinel */ },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment