[linux-pm] [PATCH] fix documentation comment in include/linux/pm.h

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

 



This comment mentioned four states a driver [sic] can be in, but then the
list only mentions three states: ON, FREEZE and SUSPEND. Add the one state
a driver(!) is in most of the time: BROKEN.

Signed-off-by: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>

diff --git a/include/linux/pm.h b/include/linux/pm.h
index 5be87ba..d4b4f61 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -144,6 +144,7 @@ typedef struct pm_message {
 
 /*
  * There are 4 important states driver can be in:
+ * BROKEN -- typically like ON or FREEZE, depending on the phase of the moon
  * ON     -- driver is working
  * FREEZE -- stop operations and apply whatever policy is applicable to a
  *           suspended driver of that class, freeze queues for block like IDE

[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