net: phy: dp83867: Set up RGMII TX delay
authorMax Uvarov <muvarov@gmail.com>
Tue, 28 May 2019 10:00:52 +0000 (13:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jun 2019 06:16:18 +0000 (08:16 +0200)
commit90abd7a3d0ee4f500c02ffa6a74faacf68afb218
tree8652e818f0555bd421b398348cdca4507e1cee25
parentda39ca31bc0a475e6c04ce128c2fcd51da6bea37
net: phy: dp83867: Set up RGMII TX delay

[ Upstream commit 2b892649254fec01678c64f16427622b41fa27f4 ]

PHY_INTERFACE_MODE_RGMII_RXID is less then TXID
so code to set tx delay is never called.

Fixes: 2a10154abcb75 ("net: phy: dp83867: Add TI dp83867 phy")
Signed-off-by: Max Uvarov <muvarov@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/dp83867.c