Skip to content

Commit e07fbc7

Browse files
digetxgregkh
authored andcommitted
mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
commit ea611d1 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>
1 parent 61d9c6f commit e07fbc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/linux/mfd/max77620.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
#define MAX77620_FPS_PERIOD_MIN_US 40
137137
#define MAX20024_FPS_PERIOD_MIN_US 20
138138

139-
#define MAX77620_FPS_PERIOD_MAX_US 2560
140-
#define MAX20024_FPS_PERIOD_MAX_US 5120
139+
#define MAX20024_FPS_PERIOD_MAX_US 2560
140+
#define MAX77620_FPS_PERIOD_MAX_US 5120
141141

142142
#define MAX77620_REG_FPS_GPIO1 0x54
143143
#define MAX77620_REG_FPS_GPIO2 0x55

0 commit comments

Comments
 (0)