diff options
author | Ankur Raina <Ankur.Raina@kpitcummins.com> | 2013-07-05 13:18:30 (GMT) |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-07-31 00:02:53 (GMT) |
commit | 4b3b4a501dee3cee869f8bacb55f2cd30044cc9b (patch) | |
tree | 76b8a0c63f989996929296dee22f435d1e5d1f64 /drivers/mfd/rts5209.c | |
parent | aa32acadcf0acc9c0017f084363048a3cc3e683d (diff) | |
download | linux-4b3b4a501dee3cee869f8bacb55f2cd30044cc9b.tar.xz |
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/rts5209.c')
0 files changed, 0 insertions, 0 deletions