summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-devices-state_synced
AgeCommit message (Collapse)AuthorFilesLines
2020-07-10driver core: Add state_synced sysfs file for devices that support itSaravana Kannan1-0/+24
This can be used to check if a device supports sync_state() callbacks and therefore keeps resources left on by the bootloader enabled till all its consumers have probed. This can also be used to check if sync_state() has been called for a device or whether it is still trying to keep resources enabled because they were left enabled by the bootloader and all its consumers haven't probed yet. Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20200521191800.136035-3-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>