Re: [PATCH v1/1] mfd: i2c issue fix for da9052/53

From: Samuel Ortiz
Date: Sat Jan 26 2013 - 19:36:02 EST


Hi Ashish,

On Fri, Jan 25, 2013 at 02:03:49PM +0530, Ashish Jangam wrote:
> An issue has been reported where the 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 to 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: Ashish Jangam <ashish.jangam@xxxxxxxxxxxxxxx>
> ---
> drivers/mfd/da9052-i2c.c | 61 ++++++++++++++++++++++++++++++++++
> include/linux/mfd/da9052/da9052.h | 66 ++++++++++++++++++++++++++++++++++--
> include/linux/mfd/da9052/reg.h | 3 ++
> 3 files changed, 126 insertions(+), 4 deletions(-)
Applied to my for-linus branch.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/