Commit c629882a authored by Committed by David S. MillerBrowse files
stmmac: prevent dma init stuck in case of failures.
Add a limit when perform the DMA reset procedure so, in case of problems (i.e. PHY reset failed) the Kernel won't hang on the stmmac DMA initialisation blocking the Kernels execution. Signed-off-by: Giuseppe Cavallaro <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>