Re: [PATCH 1/2] mfd: twl6030: fix lockdep recursion warning on setting wake IRQs

2011-10-04 Thread Samuel Ortiz
Hi Todd, On Mon, Sep 26, 2011 at 04:44:23PM -0700, Todd Poynor wrote: 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

[PATCH 1/2] mfd: twl6030: fix lockdep recursion warning on setting wake IRQs

2011-09-26 Thread Todd Poynor
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

Re: [PATCH 1/2] mfd: twl6030: fix lockdep recursion warning on setting wake IRQs

2011-09-26 Thread Santosh Shilimkar
On Tuesday 27 September 2011 05:14 AM, Todd Poynor wrote: 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.