From: Josh Cartwright Date: Wed, 5 Mar 2014 19:33:08 +0000 (-0600) Subject: pinctrl: msm: drop wake_irqs bitmap X-Git-Tag: v3.15-rc1~150^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aced33f4974ab240971fdb5e42d7bebacd8ee45;p=pandora-kernel.git pinctrl: msm: drop wake_irqs bitmap Currently, the wake_irqs bitmap is used to track whether there are any gpio's which are configured as wake irqs, and uses this to determine whether or not to call enable_irq_wake()/disable_irq_wake() on the summary interrupt. However, the genirq core already handles this case, by maintaining a 'wake_count' per irq_desc, and only calling into the controlling irq_chip when wake_count transitions 0 <-> 1. Drop this bitmap, and unconditionally call irq_set_irq_wake() on the summary interrupt. Signed-off-by: Josh Cartwright Acked-by: Bjorn Andersson Signed-off-by: Linus Walleij --- Reading git-diff-tree failed