summaryrefslogtreecommitdiffstats
path: root/drivers/soc/amlogic/meson-gx-socinfo.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-12-10 05:23:29 +0100
committerOlof Johansson <olof@lixom.net>2017-12-10 05:23:29 +0100
commitce39882eb1d87dd9bb4f89d4ae09ef2547aee079 (patch)
tree17eb01f9806102123aabbc64ff6c02eaef799cb4 /drivers/soc/amlogic/meson-gx-socinfo.c
parentMerge tag 'ccn/fixes-for-4.15' of git://git.linaro.org/people/pawel.moll/linu... (diff)
parentARM64: dts: meson-gx: fix UART pclk clock name (diff)
downloadlinux-ce39882eb1d87dd9bb4f89d4ae09ef2547aee079.tar.xz
linux-ce39882eb1d87dd9bb4f89d4ae09ef2547aee079.zip
Merge tag 'amlogic-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into fixes
Amlogic fixes for v4.15-rc - GPIO interrupt fixes - socinfo fix for GX series - fix typo * tag 'amlogic-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: dts: meson-gx: fix UART pclk clock name meson-gx-socinfo: Fix package id parsing ARM: meson: fix spelling mistake: "Couln't" -> "Couldn't" ARM: dts: meson: fix the memory region of the GPIO interrupt controller ARM: dts: meson: correct the sort order for the the gpio_intc node Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/soc/amlogic/meson-gx-socinfo.c')
-rw-r--r--drivers/soc/amlogic/meson-gx-socinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c
index 89f4cf507be6..f2d8c3c53ea4 100644
--- a/drivers/soc/amlogic/meson-gx-socinfo.c
+++ b/drivers/soc/amlogic/meson-gx-socinfo.c
@@ -20,8 +20,8 @@
#define AO_SEC_SOCINFO_OFFSET AO_SEC_SD_CFG8
#define SOCINFO_MAJOR GENMASK(31, 24)
-#define SOCINFO_MINOR GENMASK(23, 16)
-#define SOCINFO_PACK GENMASK(15, 8)
+#define SOCINFO_PACK GENMASK(23, 16)
+#define SOCINFO_MINOR GENMASK(15, 8)
#define SOCINFO_MISC GENMASK(7, 0)
static const struct meson_gx_soc_id {