On Mon, 19 Dec 2005, Franck wrote:

> BTW, the hcd suspend method do:
> 
>         dev->dev.power.power_state = state;
> 
> I think this work should be part of the driver model, shouldn't it ?

No.  The driver core does not understand the power states any particular
device can be in.  It's up to the device's driver, which does understand
them, to set the current power state.

Although it's not much of an issue now, it will become more of an issue in 
the not-too-distant future.  There will be more power states available 
than just "On", "Frozen", and "Suspended".

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to