]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
authorDmitry Osipenko <digetx@gmail.com>
Sun, 5 May 2019 15:43:22 +0000 (18:43 +0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 8 May 2019 11:50:00 +0000 (12:50 +0100)
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>
include/linux/mfd/max77620.h

index ad2a9a852aead143a69e7ada265e5b7832f3727f..b4fd5a7c2aaa7cb1fb2e43eb74738e41f64e5d49 100644 (file)
 #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