diff options
author | Ankur Raina <Ankur.Raina@kpitcummins.com> | 2013-07-05 15:18:30 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-07-31 02:02:53 +0200 |
commit | 4b3b4a501dee3cee869f8bacb55f2cd30044cc9b (patch) | |
tree | 76b8a0c63f989996929296dee22f435d1e5d1f64 /drivers/mfd/da9055-i2c.c | |
parent | mfd: s2mps11: Add device tree support (diff) | |
download | linux-4b3b4a501dee3cee869f8bacb55f2cd30044cc9b.tar.xz linux-4b3b4a501dee3cee869f8bacb55f2cd30044cc9b.zip |
mfd: Fix for DA9055 driver initialization
This patch clears all the events received while powering up DA9055.
While powering up DA9055, both power sequencer and gpio events are received.
These events remain uncleared after boot up, due to which further event handling
also fails. DA9055 has three event registers. The event register bits are set
to '1' on receiving an event. The events can be cleared on writing a '1' to
the set bit, which would then clear that bit to '0'. After applying this patch
we have a clean state after boot up.
Signed-off-by: Ankur Raina <Ankur.Raina@kpitcummins.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/da9055-i2c.c')
0 files changed, 0 insertions, 0 deletions