diff options
author | Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com> | 2012-06-22 16:22:25 +0300 |
---|---|---|
committer | Dmytro Kedrovskyi <x0169235@ti.com> | 2012-09-13 18:01:44 +0300 |
commit | ff68782de445f86f6b7f6c5dbc258cdd72f310b4 (patch) | |
tree | 2342df5c2372dfddf184b11aa0913f1e255cd732 /drivers/mfd | |
parent | d874fb7727a4301bda7d0675f32cae0a08a73059 (diff) | |
download | kernel_samsung_espresso10-ff68782de445f86f6b7f6c5dbc258cdd72f310b4.zip kernel_samsung_espresso10-ff68782de445f86f6b7f6c5dbc258cdd72f310b4.tar.gz kernel_samsung_espresso10-ff68782de445f86f6b7f6c5dbc258cdd72f310b4.tar.bz2 |
MFD: TWL6030: Implementation of the ProDB00110684 errata
This errata affects only TWL6030 ES2.1. Each time a charge is
enabled via SW, a THMREG interrupt triggers (Internal USB charger
fault interrupt line).
Workaround: Interrupt (the bit #1 of CHARGERUSB_INT_MASK) has to be
masked before enabling the charge, and unmasked after charge is
enabled.
Change-Id: I14074e384a863c82ba61af9ea9434afe75cc2bc8
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@ti.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/twl-core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 8a8d96d..52f7630 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -1389,13 +1389,16 @@ twl_probe(struct i2c_client *client, const struct i2c_device_id *id) * Check for the errata implementation * Errata ProDB00119490 present only in the TWL6032 ES1.1 * Errata ProDB00112620 present only in the TWL6030 ES2.1 + * Errata ProDB00110684 present only in the TWL6030 ES2.1 */ if (features & TWL6032_SUBCLASS) { if (twlrev == 1) errata |= TWL6032_ERRATA_DB00119490; } else { - if (twlrev == 2) + if (twlrev == 2) { errata |= TWL6030_ERRATA_DB00112620; + errata |= TWL6030_ERRATA_DB00110684; + } } } |