commit | 39b401dbd3a36f04657afa078d1d25278a26e9c9 | [log] [tgz] |
---|---|---|
author | Deepak SIKRI <deepak.sikri@st.com> | Wed Apr 04 04:33:24 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 04 18:39:24 2012 -0400 |
tree | 35f6d4ab2a35edf24aa0f616befc389254abe40c | |
parent | 8327eb65e795ba4f922bf7e531cd312875f0dc29 [diff] |
stmmac: Replace infinite loops by timeouts in mdio r/w This patch removes the infinite waits from the mdio read and write interfaces. These infinite waits have been replaced by the timeout handling. In case if a time out occurs, an error is returned. Signed-off-by: Deepak Sikri <deepak.sikri@st.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>