stmmac: fix pm functions avoiding sleep on spinlock
authorFrancesco Virlinzi <francesco.virlinzi@st.com>
Wed, 16 Nov 2011 21:58:02 +0000 (21:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2011 08:13:42 +0000 (03:13 -0500)
commit102463b18d922dd55c29fbfa222e0355ecf3e42f
tree8491bc4dcb12cef135d07461042a198692952b91
parent989508ba60da6dce79f8aaee1be6c092fd4c67f8
stmmac: fix pm functions avoiding sleep on spinlock

This patch fixes the pm functions to avoid the system
sleeps while a spinlock is taken.

Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c