diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-03-26 11:29:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-03-26 11:29:36 -0700 |
commit | 8a3cbdda181024f9ee7200504e748d2e91adad1a (patch) | |
tree | 09ff50e95c9185d0c56bee9863a345e438fd01bb /kernel | |
parent | eb3991ef2c0ebb7dc49c260e12ae1575d1e153b2 (diff) | |
parent | 6f3a283c2f6bbbb5a9a6801a0befa61cb60195f1 (diff) | |
download | lwn-8a3cbdda181024f9ee7200504e748d2e91adad1a.tar.gz lwn-8a3cbdda181024f9ee7200504e748d2e91adad1a.zip |
Merge tag 'pm-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fixes from Rafael Wysocki:
"These fix an issue related to device links in the runtime PM framework
and debugfs usage in the Energy Model code.
Specifics:
- Modify the runtime PM device suspend to avoid suspending supplier
devices before the consumer device's status changes to
RPM_SUSPENDED (Rafael Wysocki)
- Change the Energy Model code to prevent it from attempting to
create its main debugfs directory too early (Lukasz Luba)"
* tag 'pm-5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM: EM: postpone creating the debugfs dir till fs_initcall
PM: runtime: Defer suspending suppliers
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/energy_model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/energy_model.c b/kernel/power/energy_model.c index 1358fa4abfa8..0f4530b3a8cd 100644 --- a/kernel/power/energy_model.c +++ b/kernel/power/energy_model.c @@ -98,7 +98,7 @@ static int __init em_debug_init(void) return 0; } -core_initcall(em_debug_init); +fs_initcall(em_debug_init); #else /* CONFIG_DEBUG_FS */ static void em_debug_create_pd(struct device *dev) {} static void em_debug_remove_pd(struct device *dev) {} |