diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2017-10-26 10:51:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-27 16:23:19 +0200 |
commit | 4894ac6b6c25b2693dc21c611621dc9fd21f4090 (patch) | |
tree | 3c0c151dd24b2f57ef48aca77804a726fcb84123 /drivers | |
parent | Merge tag 'mlx5-fixes-2017-10-26' of git://git.kernel.org/pub/scm/linux/kerne... (diff) | |
download | linux-4894ac6b6c25b2693dc21c611621dc9fd21f4090.tar.xz linux-4894ac6b6c25b2693dc21c611621dc9fd21f4090.zip |
net: stmmac: dwc-qos-eth: Fix typo in DT bindings parsing
According to DT bindings documentation we are expecting a
property called "snps,read-requests" but we are parsing
instead a property called "read,read-requests".
This is clearly a typo. Fix it.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c index 5efef8001edf..3256e5cbad27 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c @@ -74,7 +74,7 @@ static int dwc_eth_dwmac_config_dt(struct platform_device *pdev, plat_dat->axi->axi_wr_osr_lmt--; } - if (of_property_read_u32(np, "read,read-requests", + if (of_property_read_u32(np, "snps,read-requests", &plat_dat->axi->axi_rd_osr_lmt)) { /** * Since the register has a reset value of 1, if property |