X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fusb%2Fpower-management.txt;h=12511c98cc4faecaf17f31db16f1db347936dad2;hb=7bcd19f0aaddb28905b8bd71bc4e75d2a9442801;hp=9d85d96ec6e0517a236c22d0c3a20d71af0b8c4d;hpb=1be025d3cb40cd295123af2c394f7229ef9b30ca;p=pandora-kernel.git diff --git a/Documentation/usb/power-management.txt b/Documentation/usb/power-management.txt index 9d85d96ec6e0..12511c98cc4f 100644 --- a/Documentation/usb/power-management.txt +++ b/Documentation/usb/power-management.txt @@ -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