Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
net: stmmac: enable runtime power management support
Add basic runtime power management support such that 1. suspend the device when the link is not present 2. set it up after the link has been detected again According to Documentation/power/pci.rst, the driver itself should not call pm_runtime_allow(), though. Instead, it should let user space or some platform-specific code do that. Therefore, this feature is disabled until the user space enables it with the help of /sys/devices/.../power/control device attribute. Signed-off-by: Song, Yoong Siang <yoong.siang.song@intel.com>
- Loading branch information
1 parent
03b6611
commit 1455d4a9ab51d8fb4262402a5135b1277b8bc4cc
Showing
4 changed files
with
165 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters