net: dsa: qca8k: Enable delay for RGMII_ID mode
authorVinod Koul <vkoul@kernel.org>
Tue, 19 Feb 2019 06:59:43 +0000 (12:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:25 +0000 (14:50 +0100)
commit4da9a15e9c5f8959d8a5bb10611333faab93147e
tree3ce030adee1d10a30e31d47715890d587c2bde87
parent87e2846dd5ae8c1e616080942d7ed2d50d57d5c2
net: dsa: qca8k: Enable delay for RGMII_ID mode

[ Upstream commit a968b5e9d5879f9535d6099505f9e14abcafb623 ]

RGMII_ID specifies that we should have internal delay, so resurrect the
delay addition routine but under the RGMII_ID mode.

Fixes: 40269aa9f40a ("net: dsa: qca8k: disable delay for RGMII mode")
Tested-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/qca8k.c
drivers/net/dsa/qca8k.h