net: phy: marvell: Enable interrupt function on LED2 pin
authorEsben Haabendal <eha@deif.com>
Thu, 5 Apr 2018 20:40:29 +0000 (22:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Apr 2018 17:36:57 +0000 (13:36 -0400)
commitdd9a122ae99ae471beed4d4f8073d71e8d31ffa6
tree2e3f561b546456775c2d8f37c1e9a1551e56b3fe
parenteb1924809a0c3d54e177ed93257a10b4bf316896
net: phy: marvell: Enable interrupt function on LED2 pin

The LED2[2]/INTn pin on Marvell 88E1318S as well as 88E1510/12/14/18 needs
to be configured to be usable as interrupt not only when WOL is enabled,
but whenever we rely on interrupts from the PHY.

Signed-off-by: Esben Haabendal <eha@deif.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c