]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5fdcb940cb1b8bb9d1c00ee25a2e643c04a0ccbb
treef0477f07786e1c840b94fe33815114a605dd4b89
parent6212d329cc3f96832847ded1b08a768974df3ada
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