net: gianfar: remove misuse of IRQF_NO_SUSPEND flag
authorSudeep Holla <Sudeep.Holla@arm.com>
Mon, 21 Sep 2015 15:47:09 +0000 (16:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2015 21:22:52 +0000 (14:22 -0700)
commitd5b8d6404395641987db76e28334cae4cef771ae
treed20f155e1b67e03251e26a13ffda511f196df650
parent6ae459bdaaeebc632b16e54dcbabb490c6931d61
net: gianfar: remove misuse of IRQF_NO_SUSPEND flag

The device is set as wakeup capable using proper wakeup API but the
driver misuses IRQF_NO_SUSPEND to set the interrupt as wakeup source
which is incorrect.

This patch removes the use of IRQF_NO_SUSPEND flags replacing it with
enable_irq_wake instead.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Claudiu Manoil <claudiu.manoil@freescale.com>
Cc: Kevin Hao <haokexin@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c