Florian Fainelli 61b423a8a0 net: systemport: avoid unbalanced enable_irq_wake calls
Multiple enable_irq_wake() calls will keep increasing the IRQ
wake_depth, which ultimately leads to the following types of
situation:

1) enable Wake-on-LAN interrupt w/o password
2) enable Wake-on-LAN interrupt w/ password
3) enable Wake-on-LAN interrupt w/o password
4) disable Wake-on-LAN interrupt

After step 4), SYSTEMPORT would always wake-up the system no matter what
wake-up device we use, which is not what we want. Fix this by making
sure there are no unbalanced enable_irq_wake() calls.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-10 15:39:15 -04:00
..
2014-10-08 06:53:19 -04:00
2014-10-08 17:37:16 -04:00
2014-10-08 17:37:16 -04:00
2014-10-07 20:39:25 -04:00
2014-10-08 17:37:16 -04:00
2014-09-22 16:48:47 +09:00
2014-10-08 06:50:18 -04:00
2014-09-22 07:54:10 -07:00
2014-10-03 11:24:46 -07:00
2014-10-08 05:27:39 -04:00
2014-10-08 17:37:16 -04:00
2014-10-08 17:37:16 -04:00
2014-10-07 21:29:18 -04:00
2014-10-08 17:06:53 -04:00
2014-09-06 12:12:09 -07:00
2014-09-24 09:46:29 -07:00
2014-10-08 17:37:16 -04:00
2014-10-07 21:29:18 -04:00
2014-10-08 17:37:16 -04:00
2014-09-11 16:52:29 -07:00