summaryrefslogtreecommitdiff
path: root/include/linux/mfd/max77620.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-05-05 18:43:22 +0300
committerLee Jones <lee.jones@linaro.org>2019-05-08 14:50:00 +0300
commitea611d1cc180fbb56982c83cd5142a2b34881f5c (patch)
tree4779ad96913f103b58035544fd8f5c205166d65c /include/linux/mfd/max77620.h
parentc63217a462fe655eff329abc6a552fba5452c46f (diff)
downloadlinux-ea611d1cc180fbb56982c83cd5142a2b34881f5c.tar.xz
mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
The FPS_PERIOD_MAX_US definitions are swapped for MAX20024 and MAX77620, fix it. Cc: stable <stable@vger.kernel.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/max77620.h')
-rw-r--r--include/linux/mfd/max77620.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/max77620.h b/include/linux/mfd/max77620.h
index ad2a9a852aea..b4fd5a7c2aaa 100644
--- a/include/linux/mfd/max77620.h
+++ b/include/linux/mfd/max77620.h
@@ -136,8 +136,8 @@
#define MAX77620_FPS_PERIOD_MIN_US 40
#define MAX20024_FPS_PERIOD_MIN_US 20
-#define MAX77620_FPS_PERIOD_MAX_US 2560
-#define MAX20024_FPS_PERIOD_MAX_US 5120
+#define MAX20024_FPS_PERIOD_MAX_US 2560
+#define MAX77620_FPS_PERIOD_MAX_US 5120
#define MAX77620_REG_FPS_GPIO1 0x54
#define MAX77620_REG_FPS_GPIO2 0x55