commit | f8c5a875c9124cb6439f0c97ada3570faa0d6860 | [log] [tgz] |
---|---|---|
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | Sun May 13 22:18:43 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 14 18:53:20 2012 -0400 |
tree | 488febc070188c6f37c1686405879d13f394005d | |
parent | b9cde0a8be876c680cc549daa6246256864473fb [diff] |
stmmac: fix suspend/resume locking Upon resume from standby, there is a possible interrupt unsafe locking scenario raised when configure the Kernel with CONFIG_PROVE_LOCKING. So this patch fixes that in PM driver stuff by calling lock/unlock_irqsave/restore. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>