From 4b3b4a501dee3cee869f8bacb55f2cd30044cc9b Mon Sep 17 00:00:00 2001 From: Ankur Raina Date: Fri, 5 Jul 2013 18:48:30 +0530 Subject: [PATCH] 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 Signed-off-by: Lee Jones Signed-off-by: Samuel Ortiz --- Reading git-format-patch failed