From: Todd Poynor Date: Tue, 4 Oct 2011 09:52:29 +0000 (+0200) Subject: mfd: Fix twl6030 lockdep recursion warning on setting wake IRQs X-Git-Tag: v3.2-rc1~72^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab2b9260df67e29d5bd69d989f2f84f8c2ed4238;p=pandora-kernel.git mfd: Fix twl6030 lockdep recursion warning on setting wake IRQs LOCKDEP explicitly sets all irq_desc locks as a single lock-class, causing "possible recursive locking detected" when the TWL RTC driver calls through enable_irq_wake to twl6030_irq_set_wake, which recursively calls irq_set_irq_wake. Although the irq_desc and lock are different, LOCKDEP treats these as equivalent, presumably due to problems that can be incurred when locking more than one irq_desc, so best to avoid this. Suspend/resume actions implemented as PM notifiers to avoid touch the TWL core for this. Signed-off-by: Todd Poynor Acked-by: Santosh Shilimkar Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed