mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 04:44:03 +00:00
This boolean function simply returns whether or not the runtime status of the device is 'active'. The typical scenario is driver calls pm_runtime_get firstly, then check pm_runtime_active in atomic environment. Also add entry to Documentation/power/runtime.txt Signed-off-by: Yanmin Zhang <[email protected]> Signed-off-by: ShuoX Liu <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>