Q: suspend_late() semantics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

trying to understand when suspend_late gets called, I just wasn't quite 
sure if I got the following points right:

1. seems to be a typo in the comment above 
drivers/base/power/suspend.c::device_power_down() - the function walks the 
dpm_off list and not the dpm_off_irq list, as claimed in the comment

2. in device_suspend() in the same file - this test:

		if (!list_empty(&dev->power.entry)) {

is it to catch concurrent device removal, say, from device_pm_remove()?

Which would mean in normal case every device would be passed to bus_type's 
suspend_late() if it's implemented?

Thanks
Guennadi
---
Guennadi Liakhovetski
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux