net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Tue, 28 Nov 2017 16:48:22 +0000 (17:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 14:44:56 +0000 (09:44 -0500)
commit1c08ac0c4bd8e9d66c4dde29bc496c3b430dd028
treef0477f07786e1c840b94fe33815114a605dd4b89
parentf8821f96ae97260d68228fe53f81848b2ede44d7
net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling

The driver expect "allwinner,leds-active-low" to be in PHY node, but
the binding doc expect it to be in MAC node.

Since all board DT use it also in MAC node, the driver need to search
allwinner,leds-active-low in MAC node.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c