MLK-11285-01 net: fec: handle WAIT mode issue for imx6qdl
authorShawn Guo <shawn.guo@freescale.com>
Mon, 15 Sep 2014 03:20:58 +0000 (11:20 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:46:48 +0000 (14:46 -0500)
commit4020b9109e0a66f0f018ef850f2e7d6c230a4745
tree345f60432417d39c103b7d5e85926157fdaf3975
parent6c82c992fe8f4336c0ac48f9980701beb91acced
MLK-11285-01 net: fec: handle WAIT mode issue for imx6qdl

This is a combination of commits 919d46e37e04 (ENGR00265935 net: fec:
add pm_qos to avoid cpu enter to wait mode) and 8a12c90c9974
(ENGR00313685-14 net: fec: check workaround for FEC_QUIRK_BUG_WAITMODE)
from imx_3.10.y branch.  It's added for imx_3.14.y branch to work around
imx6qdl issue ERR006687 (ENET: Only the ENET wake-up interrupt request
can wake the system from Wait mode).

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
(cherry-pick and merge from commit: 4f406fae257cc7945a0e3a425213440bb12ba345)
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c