diff options
author | Ashish Jangam | 2013-01-25 14:03:49 +0530 |
---|---|---|
committer | Samuel Ortiz | 2013-01-27 01:35:32 +0100 |
commit | 0a8c290ac58a86d5e1f2193abcd4d74ec075e20c (patch) | |
tree | 02c785e04f7d7aecf6166f92e240302c725a3e86 /include/linux/mfd/da9052/reg.h | |
parent | ab4e8f8b7bdfeff0c961fdbbdacb262d68f094c0 (diff) |
mfd: da9052/53 lockup fix
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@kpitcummins.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/da9052/reg.h')
-rw-r--r-- | include/linux/mfd/da9052/reg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/da9052/reg.h b/include/linux/mfd/da9052/reg.h index b97f7309d7f6..c4dd3a8add21 100644 --- a/include/linux/mfd/da9052/reg.h +++ b/include/linux/mfd/da9052/reg.h @@ -34,6 +34,9 @@ #define DA9052_STATUS_C_REG 3 #define DA9052_STATUS_D_REG 4 +/* PARK REGISTER */ +#define DA9052_PARK_REGISTER DA9052_STATUS_D_REG + /* EVENT REGISTERS */ #define DA9052_EVENT_A_REG 5 #define DA9052_EVENT_B_REG 6 |