From: Vitaly W. <vw...@ru...> - 2005-10-05 09:12:19
|
Russell King wrote: >The third parameter is obsolete and should only be used to select _one_ >of the tree suspend calls you will get. > >Any additional suspend calls should _not_ create extra usage of this >parameter. It's a left over from Pat's first driver model incarnation >which is specific to the platform device drivers. (Mainly it exists >because no one can be bothered to clean it up.) > > > Oops... I mixed it with state parameter. We need to track down the state parameter to setup wakeups. The mixture was mostly provocated by using 'pm_message_t' instead of 'state' in David's suspend fucntion which doesn't look right to me by itself. Vitaly |