diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2019-05-05 18:43:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-22 07:37:41 +0200 |
commit | dc6d69bde82987524c4fce84b02019f9bd5c34ec (patch) | |
tree | 654c3b663858bc166df15d8a80f7d5189928c514 /include/linux | |
parent | 5185672f2acf5360878143905c02f62a0d4828fe (diff) | |
download | linux-stable-dc6d69bde82987524c4fce84b02019f9bd5c34ec.tar.gz linux-stable-dc6d69bde82987524c4fce84b02019f9bd5c34ec.tar.bz2 linux-stable-dc6d69bde82987524c4fce84b02019f9bd5c34ec.zip |
mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
commit ea611d1cc180fbb56982c83cd5142a2b34881f5c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/max77620.h | 4 |
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 |