]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Dec 2022 10:30:46 +0000 (11:30 +0100)
commitcee6ae4a59c6678e9f9548c0e31781d164ef6bc3
tree4336c809e3e02d8050ac1d8ddd6b6a8e2ce2034d
parenta6c5b3d7e06f9913a8bb028edefb04276debead1
net: stmmac: fix "snps,axi-config" node property parsing

[ Upstream commit 61d4f140943c47c1386ed89f7260e00418dfad9d ]

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: 99942d2abc37 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c