summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/cpm_common.c
diff options
context:
space:
mode:
authorSudeep Holla <Sudeep.Holla@arm.com>2015-09-21 16:47:00 +0100
committerScott Wood <scottwood@freescale.com>2015-10-27 18:13:31 -0500
commit9100d20c5b6307bacd8756aba2f157cb1a8ffb56 (patch)
treeef9b56c6d2d2cad0d44dbe24f0ee460a7f8c0c5a /arch/powerpc/sysdev/cpm_common.c
parent96eea6426f56042c28eff849cb2cc01895db081e (diff)
downloadlinux-9100d20c5b6307bacd8756aba2f157cb1a8ffb56.tar.gz
linux-9100d20c5b6307bacd8756aba2f157cb1a8ffb56.tar.bz2
linux-9100d20c5b6307bacd8756aba2f157cb1a8ffb56.zip
powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake
mpic_irq_set_wake return -ENXIO for non FSL MPIC and sets IRQF_NO_SUSPEND flag for FSL ones. enable_irq_wake already returns -ENXIO if irq_set_wak is not implemented. Also there's no need to set the IRQF_NO_SUSPEND flag as it doesn't guarantee wakeup for that interrupt. This patch removes the redundant mpic_irq_set_wake and sets the IRQCHIP_SKIP_SET_WAKE for only FSL MPIC. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Scott Wood <scottwood@freescale.com> Cc: Hongtao Jia <hongtao.jia@freescale.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/sysdev/cpm_common.c')
0 files changed, 0 insertions, 0 deletions