]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: fix "snps,axi-config" node property parsing
authorJisheng Zhang <jszhang@kernel.org>
Fri, 2 Dec 2022 16:17:39 +0000 (00:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Dec 2022 09:23:24 +0000 (10:23 +0100)
commit64bd6c43f4668d8673cb0715ad35d586f21945e6
treea6f178b4fc2d67e13dd7f534d47d0cfcb9fd7637
parent69a726688bdce23d2278878d9c02d21234f1ddfa
net: stmmac: fix "snps,axi-config" node property parsing

In dt-binding snps,dwmac.yaml, some properties under "snps,axi-config"
node are named without "axi_" prefix, but the driver expects the
prefix. Since the dt-binding has been there for a long time, we'd
better make driver match the binding for compatibility.

Fixes: 2c11d8a89f0b ("stmmac: rework DMA bus setting and introduce new platform AXI structure")
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20221202161739.2203-1-jszhang@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c