summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2015-07-01 13:01:03 -0700
committerKevin Hilman <khilman@linaro.org>2015-07-01 13:01:03 -0700
commit375d610ff54e98e161abc7eba71bb80c2cf9a106 (patch)
treedfcc254ccc9f98dce664f5e5b2d3a5b02bf6b4c2 /arch/arm/mach-mvebu
parentb72802c3117417ab696b0764d6e3cea369f578a6 (diff)
parent5d6bed2a9c8bc161bff4cc7cede00f2e0e27a7e7 (diff)
downloadop-kernel-dev-375d610ff54e98e161abc7eba71bb80c2cf9a106.zip
op-kernel-dev-375d610ff54e98e161abc7eba71bb80c2cf9a106.tar.gz
Merge tag 'mvebu-fixes-4.2-0' of git://git.infradead.org/linux-mvebu into next/late
Merge "ARM: mvebu: fixes for v4.2" from Gregory Clement: mvebu fixes for 4.2 (part 0) Fix legacy dove IRQ numbers * tag 'mvebu-fixes-4.2-0' of git://git.infradead.org/linux-mvebu: ARM: dove: fix legacy dove IRQ numbers ARM: mvebu: fix suspend to RAM on big-endian configurations
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r--arch/arm/mach-mvebu/pm-board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/pm-board.c b/arch/arm/mach-mvebu/pm-board.c
index 6dfd4ab..301ab38 100644
--- a/arch/arm/mach-mvebu/pm-board.c
+++ b/arch/arm/mach-mvebu/pm-board.c
@@ -43,6 +43,9 @@ static void mvebu_armada_xp_gp_pm_enter(void __iomem *sdram_reg, u32 srcmd)
for (i = 0; i < ARMADA_XP_GP_PIC_NR_GPIOS; i++)
ackcmd |= BIT(pic_raw_gpios[i]);
+ srcmd = cpu_to_le32(srcmd);
+ ackcmd = cpu_to_le32(ackcmd);
+
/*
* Wait a while, the PIC needs quite a bit of time between the
* two GPIO commands.
OpenPOWER on IntegriCloud