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>
Wed, 29 Jan 2020 09:24:16 +0000 (10:24 +0100)
commit51ed708bee63a2726593d715697b0d644c9b994e
treee16e156f6528fa0711128cff92a9ec796ea8af5a
parentfffe989396749dc1efb2dc98c6f342641b0d0012
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