lkml.org 
[lkml]   [2012]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v1 1/1] mfd: fix for i2c issue DA9052/53 PMIC
Hi Ashish,

On Fri, Nov 02, 2012 at 04:17:26PM +0530, Ashish Jangam wrote:
> There is an issue where the DA9052/53-AA/BA/BB PMIC either locks up or fails to
> respond following a system Reset. This could result in a second write
> in which the bus writes the current content of the write buffer to address
> of the last I2C access.
>
> The failure case is where this unwanted write transfers incorrect data to
> a critical register.
>
> This patch fixes this issue by following any read or write with a dummy read
> to a safe register address. A safe register address is one where the contents
> will not affect the operation of the system.
>
> Signed-off-by: David Dajun Chen <dchen@diasemi.com>
> Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>
> ---
> drivers/mfd/da9052-i2c.c | 56 +++++++++++++++++++++++++++++++++++++
> include/linux/mfd/da9052/da9052.h | 47 ++++++++++++++++++++++++++++--
> include/linux/mfd/da9052/reg.h | 3 ++
> 3 files changed, 102 insertions(+), 4 deletions(-)
Applied to my for-linus branch.

Cheers,
Samuel.

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


\
 
 \ /
  Last update: 2012-11-26 00:41    [W:0.090 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site