Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Brown and committed by
Samuel Ortiz
8efcc57d c6a389f1

+1 -1
+1 -1
include/linux/mfd/wm8994/pdata.h
··· 26 26 struct regulator_init_data *init_data; 27 27 }; 28 28 29 - #define WM8994_CONFIGURE_GPIO 0x8000 29 + #define WM8994_CONFIGURE_GPIO 0x10000 30 30 31 31 #define WM8994_DRC_REGS 5 32 32 #define WM8994_EQ_REGS 20