diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-04-23 11:46:31 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-28 15:17:08 -0400 |
commit | 278c800ec4bfcf26b76077e96f155c5b956bd1ad (patch) | |
tree | f1a987e0d46a8b501998a3add5f10c70f223aaaf | |
parent | 81d4f7bfdc9417e7d8fc1133c762daa4458eec5e (diff) |
ARM: SAMSUNG: Do not register legacy timer interrupts on Exynos
This patch removes legacy PWM timer interrupt initialization from
exynos{4,5}_init_irq() functions, since it conflicts with internal
interrupt handling of the new PWM clocksource driver.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-exynos/common.c | 15 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 4 |
2 files changed, 2 insertions, 17 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index d63d399c7bae..8abf2b6b98c6 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
@@ -456,13 +456,6 @@ void __init exynos4_init_irq(void) | |||
456 | 456 | ||
457 | if (!of_have_populated_dt()) | 457 | if (!of_have_populated_dt()) |
458 | combiner_init(S5P_VA_COMBINER_BASE, NULL); | 458 | combiner_init(S5P_VA_COMBINER_BASE, NULL); |
459 | |||
460 | /* | ||
461 | * The parameters of s5p_init_irq() are for VIC init. | ||
462 | * Theses parameters should be NULL and 0 because EXYNOS4 | ||
463 | * uses GIC instead of VIC. | ||
464 | */ | ||
465 | s5p_init_irq(NULL, 0); | ||
466 | } | 459 | } |
467 | 460 | ||
468 | void __init exynos5_init_irq(void) | 461 | void __init exynos5_init_irq(void) |
@@ -470,14 +463,6 @@ void __init exynos5_init_irq(void) | |||
470 | #ifdef CONFIG_OF | 463 | #ifdef CONFIG_OF |
471 | irqchip_init(); | 464 | irqchip_init(); |
472 | #endif | 465 | #endif |
473 | /* | ||
474 | * The parameters of s5p_init_irq() are for VIC init. | ||
475 | * Theses parameters should be NULL and 0 because EXYNOS4 | ||
476 | * uses GIC instead of VIC. | ||
477 | */ | ||
478 | if (!of_machine_is_compatible("samsung,exynos5440")) | ||
479 | s5p_init_irq(NULL, 0); | ||
480 | |||
481 | gic_arch_extn.irq_set_wake = s3c_irq_wake; | 466 | gic_arch_extn.irq_set_wake = s3c_irq_wake; |
482 | } | 467 | } |
483 | 468 | ||
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index a9d52167e16e..2e1b1905ac3a 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -101,9 +101,9 @@ config SAMSUNG_IRQ_VIC_TIMER | |||
101 | Internal configuration to build the VIC timer interrupt code. | 101 | Internal configuration to build the VIC timer interrupt code. |
102 | 102 | ||
103 | config S5P_IRQ | 103 | config S5P_IRQ |
104 | def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS) | 104 | def_bool (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210) |
105 | help | 105 | help |
106 | Support common interrup part for ARCH_S5P and ARCH_EXYNOS SoCs | 106 | Support common interrupt part for ARCH_S5P SoCs |
107 | 107 | ||
108 | config S5P_EXT_INT | 108 | config S5P_EXT_INT |
109 | bool | 109 | bool |