Skip to content

Commit 8efcc57

Browse files
broonieSamuel Ortiz
authored andcommitted
mfd: Fix value of WM8994_CONFIGURE_GPIO
This needs to be an out of band value for the register and on this device registers are 16 bit so we must shift left one to the 17th bit. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent c6a389f commit 8efcc57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/mfd/wm8994/pdata.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct wm8994_ldo_pdata {
2626
struct regulator_init_data *init_data;
2727
};
2828

29-
#define WM8994_CONFIGURE_GPIO 0x8000
29+
#define WM8994_CONFIGURE_GPIO 0x10000
3030

3131
#define WM8994_DRC_REGS 5
3232
#define WM8994_EQ_REGS 20

0 commit comments

Comments
 (0)