Skip to contentSkip to conversation

mfd: Fix value of WM8994_CONFIGURE_GPIO

PATCH In review Mark Brown 2 participants 2 messages Aug 3, 2011 – Aug 21, 2011 Multifunction devices (MFD)

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 include/linux/mfd/wm8994/pdata.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/mfd/wm8994/pdata.h +1 -1
index d12f8d6..97cf4f2 100644
@@ -26,7 +26,7 @@ struct wm8994_ldo_pdata {
 	struct regulator_init_data *init_data;
 };
 
-#define WM8994_CONFIGURE_GPIO 0x8000
+#define WM8994_CONFIGURE_GPIO 0x10000
 
 #define WM8994_DRC_REGS 5
 #define WM8994_EQ_REGS  20
Signature · 1 line
1.7.5.4
#1 lore raw

Hi Mark,

Quoted 2 lines · Mark Brown

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.

Patch applied to for-next and queued into for-linus as well.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/