]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix stmmac_resume removing not yet used shutdown flag
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>
Mon, 29 Nov 2010 02:10:53 +0000 (18:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Nov 2010 02:10:53 +0000 (18:10 -0800)
commitdf0d4cccafc472e1e5d0f10b8c2ab787b0095823
treed951984c06fd439ae18e90cacd8c61f602b4a383
parent40c54e7dbbf7ec2429a47d290a005f6026ca46d9
stmmac: fix stmmac_resume removing not yet used shutdown flag

The commit to convert to use the dev_pm_ops struct
introduces a bug. The shutdown flag is not yet used
because the hibernation on memory is done by using
the freeze callback.
Thanks to Vlad for having reported it.

Reported-by: Vlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/stmmac_main.c