Skip to content

Commit ed4210b

Browse files
charleskeepaxsashalevin
authored andcommitted
ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore
[ Upstream commit 4e330ae ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
1 parent 5ec2065 commit ed4210b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/arm/mach-s3c64xx/crag6410.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <mach/gpio-samsung.h>
1515

1616
#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
17+
#define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
1718

1819
#define PCA935X_GPIO_BASE GPIO_BOARD_START
1920
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)

‎arch/arm/mach-s3c64xx/mach-crag6410.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ static struct wm831x_touch_pdata touch_pdata = {
554554

555555
static struct wm831x_pdata crag_pmic_pdata = {
556556
.wm831x_num = 1,
557+
.irq_base = BANFF_PMIC_IRQ_BASE,
557558
.gpio_base = BANFF_PMIC_GPIO_BASE,
558559
.soft_shutdown = true,
559560

0 commit comments

Comments
 (0)