On Tuesday 30 May 2006 12:30 pm, Pavel Machek wrote: > > + if (mesg.event == PM_EVENT_PRETHAW) > > + mesg.event = PM_EVENT_FREEZE; > > ... > > + dev->dev.power.power_state = mesg; > > If PRETHAW event is sent, we still store FREEZE into power_state. That > is not consistent with other drivers. Doesn't matter. By definition, it's OK for drivers to treat PRETHAW as FREEZE, when they don't care about that distinction ... plus ISTR there's no code that _relies_ on that power_state. Few drivers even bother setting it ... it's not exactly a useful record. - Dave