]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - Documentation/usb/power-management.txt
Merge branch 'batman-adv/maint' of git://git.open-mesh.org/linux-merge
[mirror_ubuntu-bionic-kernel.git] / Documentation / usb / power-management.txt
index 9d85d96ec6e0517a236c22d0c3a20d71af0b8c4d..12511c98cc4faecaf17f31db16f1db347936dad2 100644 (file)
@@ -439,10 +439,10 @@ cause autosuspends to fail with -EBUSY if the driver needs to use the
 device.
 
 External suspend calls should never be allowed to fail in this way,
-only autosuspend calls.  The driver can tell them apart by checking
-the PM_EVENT_AUTO bit in the message.event argument to the suspend
-method; this bit will be set for internal PM events (autosuspend) and
-clear for external PM events.
+only autosuspend calls.  The driver can tell them apart by applying
+the PMSG_IS_AUTO() macro to the message argument to the suspend
+method; it will return True for internal PM events (autosuspend) and
+False for external PM events.
 
 
        Mutual exclusion