projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a389f
)
mfd: Fix value of WM8994_CONFIGURE_GPIO
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 3 Aug 2011 09:04:29 +0000
(18:04 +0900)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 6 Sep 2011 14:37:58 +0000
(16:37 +0200)
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>
include/linux/mfd/wm8994/pdata.h
patch
|
blob
|
history
diff --git
a/include/linux/mfd/wm8994/pdata.h
b/include/linux/mfd/wm8994/pdata.h
index d12f8d635a8159b8ce54a144dbf9eda1d90e29d8..97cf4f27d6470120a389bb8a2e1217871b8e3411 100644
(file)
--- a/
include/linux/mfd/wm8994/pdata.h
+++ b/
include/linux/mfd/wm8994/pdata.h
@@
-26,7
+26,7
@@
struct wm8994_ldo_pdata {
struct regulator_init_data *init_data;
};
-#define WM8994_CONFIGURE_GPIO 0x
8
000
+#define WM8994_CONFIGURE_GPIO 0x
10
000
#define WM8994_DRC_REGS 5
#define WM8994_EQ_REGS 20