On Wednesday 21 December 2005 12:15 am, Franck wrote:

> Aynways, this work seems to be already done by driver model. Check in
> "dpm_runtime_suspend" :
> 
>               if (!(error = suspend_device(dev, state)))
>                       dev->power.power_state = state;

Which represents a couple bugs, ISTR.  One that it the sysfs and
non-sysfs paths disagree about whether that's set.  Another is
that it clobbers the driver's by-definition-more-correct version
of its power state.

- Dave


-------------------------------------------------------
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