net: stmmac: dwmac_lib: fix interchanged sleep/timeout values in DMA reset function
authorEmiliano Ingrassia <ingrassia@epigenesys.com>
Thu, 12 Oct 2017 09:00:47 +0000 (11:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 17:19:52 +0000 (10:19 -0700)
commitb9849860675f925da0380f4ea76c3f5041909737
treee560cbe003890704b1e850ee1f5fe2de8ccbf84a
parente7ad97938eaccb5a9ff4534167b1abafb507935c
net: stmmac: dwmac_lib: fix interchanged sleep/timeout values in DMA reset function

The DMA reset timeout, used in read_poll_timeout, is
ten times shorter than the sleep time.
This patch fixes these values interchanging them, as it was
before the read_poll_timeout introduction.

Fixes: 8a70aeca80c2 ("net: stmmac: Use readl_poll_timeout")

Signed-off-by: Emiliano Ingrassia <ingrassia@epigenesys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c