[PATCH 08/17] net: stmmac: Use readl_poll_timeout

2017-01-31 Thread Corentin Labbe
The dwmac_dma_reset function use an open coded of readl_poll_timeout(). Replace the open coded handling with the proper function. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 14 ++ 1 file changed, 6 insertions(+), 8

[PATCH 08/17] net: stmmac: Use readl_poll_timeout

2017-01-31 Thread Corentin Labbe
The dwmac_dma_reset function use an open coded of readl_poll_timeout(). Replace the open coded handling with the proper function. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git