* [PATCH] mfd: Fix define values of CS1_HIB_MODE.
@ 2008-11-20 11:24 Naohiro Ooiwa
2008-11-20 14:04 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Naohiro Ooiwa @ 2008-11-20 11:24 UTC (permalink / raw)
To: broonie; +Cc: LKML
Hi Mark,
I found a little mistake.
The define values are wrong.
It is written in the WM8350 DATA SHEET Rev 3.4 P285 that
CS1_HIB_MODE(bit 12) is disable at "1".
The following is it.
<WM8350 DATA SHEET Rev 3.4 P285>
REGISTER |BIT| LABEL | DESCRIPTION
ADDRESS | | |
---------+---+------------+-------------
R172(ACh)| 12|CS1_HIB_MODE| 0=leave current sink as in Active
| | | 1=disable current shik in Hibemate
Could you please check the following patch ?
Regards,
Naohiro Ooiwa
Signed-off-by: Naohiro Ooiwa <nooiwa@miraclelinux.com>
---
include/linux/mfd/wm8350/pmic.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/mfd/wm8350/pmic.h b/include/linux/mfd/wm8350/pmic.h
index 656279a..078363b 100644
--- a/include/linux/mfd/wm8350/pmic.h
+++ b/include/linux/mfd/wm8350/pmic.h
@@ -83,8 +83,8 @@
#define WM8350_CS1_ISEL_SHIFT 0
/* Bit values for R172 (0xAC) */
-#define WM8350_CS1_HIB_MODE_DISABLE 0
-#define WM8350_CS1_HIB_MODE_LEAVE 1
+#define WM8350_CS1_HIB_MODE_DISABLE 1
+#define WM8350_CS1_HIB_MODE_LEAVE 0
#define WM8350_CS1_ISEL_220M 0x3F
--
1.5.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: Fix define values of CS1_HIB_MODE.
2008-11-20 11:24 [PATCH] mfd: Fix define values of CS1_HIB_MODE Naohiro Ooiwa
@ 2008-11-20 14:04 ` Mark Brown
2009-04-28 2:45 ` Naohiro Ooiwa
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2008-11-20 14:04 UTC (permalink / raw)
To: Naohiro Ooiwa; +Cc: LKML
On Thu, Nov 20, 2008 at 08:24:35PM +0900, Naohiro Ooiwa wrote:
> I found a little mistake.
> The define values are wrong.
> It is written in the WM8350 DATA SHEET Rev 3.4 P285 that
> CS1_HIB_MODE(bit 12) is disable at "1".
I will double check but I believe this to be a datasheet error - if it
is it will be corrected in the datasheet.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mfd: Fix define values of CS1_HIB_MODE.
2008-11-20 14:04 ` Mark Brown
@ 2009-04-28 2:45 ` Naohiro Ooiwa
0 siblings, 0 replies; 3+ messages in thread
From: Naohiro Ooiwa @ 2009-04-28 2:45 UTC (permalink / raw)
To: Mark Brown; +Cc: LKML
Hi Mark,
I'm sorry for this late reply.
I checked the WM8350 DATA SHEET Rev 4.0 P287.
It's already corrected.
Thank you for your work.
Regards,
Naohiro Ooiwa
Mark Brown wrote::
> On Thu, Nov 20, 2008 at 08:24:35PM +0900, Naohiro Ooiwa wrote:
>
>> I found a little mistake.
>> The define values are wrong.
>
>> It is written in the WM8350 DATA SHEET Rev 3.4 P285 that
>> CS1_HIB_MODE(bit 12) is disable at "1".
>
> I will double check but I believe this to be a datasheet error - if it
> is it will be corrected in the datasheet.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-28 3:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 11:24 [PATCH] mfd: Fix define values of CS1_HIB_MODE Naohiro Ooiwa
2008-11-20 14:04 ` Mark Brown
2009-04-28 2:45 ` Naohiro Ooiwa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox