Skip to contentSkip to conversation

fix documentation comment in include/linux/pm.h

PATCH New Dominik Brodowski 1 participant 1 message Jan 6, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix documentation comment in include/linux/pm.h

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.

include/linux/pm.h +1 -0
index 5be87ba..d4b4f61 100644
@@ -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