From: Kalle Jokiniemi Date: Tue, 16 Oct 2012 14:59:35 +0000 (+0300) Subject: mfd: twl4030: Fix chained irq handling on resume from suspend X-Git-Tag: v3.7-rc8~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b41669ceba0c2d4c09d69ccb9a3458953dae784;p=pandora-kernel.git mfd: twl4030: Fix chained irq handling on resume from suspend The irqs are enabled one-by-one in pm core resume_noirq phase. This leads to situation where the twl4030 primary interrupt handler (PIH) is enabled before the chained secondary handlers (SIH). As the PIH cannot clear the pending interrupt, and SIHs have not been enabled yet, a flood of interrupts hangs the device. Fixed the issue by setting the SIH irqs with IRQF_EARLY_RESUME flags, so they get enabled before the PIH. Signed-off-by: Kalle Jokiniemi Acked-by: Kevin Hilman Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed