Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8432838f authored by Alok Chauhan's avatar Alok Chauhan
Browse files

msm: emac: Add wake lock for link detection/un-detection



Add wake lock support in EMAC driver. EMAC driver should
not go into suspend when Ethernet link is connected to
avoid transfer to fail.  For this reason wake lock is
acquired when Ethernet link is detected and it will hold
the system to go into suspend as long as link is connected.
Once Ethernet link is disconnected then EMAC driver will
release the wake lock and allow system to go into suspend.

Change-Id: I6ffafbd085608d0a96d96fc5b87695a9ff5198ce
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 1468823d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment