Hi Ben,

On 23/09/15 05:06, Scott Wood wrote:
On Mon, 2015-09-21 at 16:47 +0100, Sudeep Holla wrote:
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 <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Scott Wood <[email protected]>
Cc: Hongtao Jia <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: [email protected]
Signed-off-by: Sudeep Holla <[email protected]>
---
  arch/powerpc/sysdev/mpic.c | 23 ++++-------------------
  1 file changed, 4 insertions(+), 19 deletions(-)

Acked-by: Scott Wood <[email protected]>


Can you pick this up via your tree ?

--
Regards,
Sudeep
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to