Runtime PM: Check for dev->parent PM support

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

 



Hi Rafael,

I see that in most of the internal runtime functions (__pm_runtime_suspend, __pm_runtime_resume, __pm_runtime_set_status etc.) without any explicit check to see if the dev->parent supports runtime PM there is access to its runtime PM fields. I guess there can be a use case where a device supports runtime PM but its parent does not. Am I missing something here?

Regards,	
Nithish Mahalingam


_______________________________________________
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