All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: Fix value of WM8994_CONFIGURE_GPIO
@ 2011-08-03  9:04 Mark Brown
  2011-08-21 23:13 ` Samuel Ortiz
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-08-03  9:04 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, patches, Mark Brown, stable

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
---
 include/linux/mfd/wm8994/pdata.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index d12f8d6..97cf4f2 100644
--- 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 0x8000
+#define WM8994_CONFIGURE_GPIO 0x10000
 
 #define WM8994_DRC_REGS 5
 #define WM8994_EQ_REGS  20
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: Fix value of WM8994_CONFIGURE_GPIO
  2011-08-03  9:04 [PATCH] mfd: Fix value of WM8994_CONFIGURE_GPIO Mark Brown
@ 2011-08-21 23:13 ` Samuel Ortiz
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2011-08-21 23:13 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel, patches, stable

Hi Mark,

On Wed, Aug 03, 2011 at 06:04:29PM +0900, Mark Brown wrote:
> 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.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-21 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-03  9:04 [PATCH] mfd: Fix value of WM8994_CONFIGURE_GPIO Mark Brown
2011-08-21 23:13 ` Samuel Ortiz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.