Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

There are two PMICs on Cragganmore, currently one dynamically assign
its IRQ base and the other uses a fixed base. It is possible for the
statically assigned PMIC to fail if its IRQ is taken by the dynamically
assigned one. Fix this by statically assigning both the IRQ bases.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Kukjin Kim <kgene@kernel.org>

authored by

Charles Keepax and committed by
Kukjin Kim
4e330ae4 1cd3de0a

+2
+1
arch/arm/mach-s3c64xx/crag6410.h
··· 14 14 #include <mach/gpio-samsung.h> 15 15 16 16 #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START 17 + #define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) 17 18 18 19 #define PCA935X_GPIO_BASE GPIO_BOARD_START 19 20 #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
+1
arch/arm/mach-s3c64xx/mach-crag6410.c
··· 554 554 555 555 static struct wm831x_pdata crag_pmic_pdata = { 556 556 .wm831x_num = 1, 557 + .irq_base = BANFF_PMIC_IRQ_BASE, 557 558 .gpio_base = BANFF_PMIC_GPIO_BASE, 558 559 .soft_shutdown = true, 559 560