History

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.

Mark Brown committed 15 years ago

Commit 8efcc571 parent c6a389f1 file · +1 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/mfd/wm8994/pdata.h+1−1
@@ -26,7 +26,7 @@ struct wm8994_ldo_pdata { · 25 unmodified lines
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