From: Ankur Raina Date: Fri, 5 Jul 2013 13:18:30 +0000 (+0530) Subject: mfd: Fix for DA9055 driver initialization X-Git-Tag: v3.12-rc1~100^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b3b4a501dee3cee869f8bacb55f2cd30044cc9b;p=pandora-kernel.git 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-diff-tree failed