net: stmmac: dwmac_lib: enlarge dma reset timeout
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Fri, 13 Nov 2020 01:09:02 +0000 (09:09 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 15 Nov 2020 00:04:02 +0000 (16:04 -0800)
commit56311a315da7ebc668dbcc2f1c99689cc10796c4
treec5f7a69afd70cb3292ae2ec519e57a86878cb9f5
parent796a2665ca3e91ebaba7222f76fd9a035714e2d8
net: stmmac: dwmac_lib: enlarge dma reset timeout

If the phy enables power saving technology, the dwmac's software reset
needs more time to complete, enlarge dma reset timeout to 200000us.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20201113090902.5c7aab1a@xhacker.debian
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c