[linux-pm] [RFC 3/3] Runtime PM support for named power states

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This patch adds support for named power states to the USB device drivers.  
> It's fairly simple and well-contained because USB devices have only two 
> states: on and suspended.  Even so, the confusion over which field in 
> dev->power.power_state should represent the true state remains.

Hmm, what confusion is that?  You may have mentioned it elsewhere.

There are two different notions of "device" inside USB.  One is that
of a "usb_interface" ... something that doesn't actually have any
kind of power state, it's only got "driver has quiesced".

The other is that of "usb_device", which can have real power states
when CONFIG_USB_SUSPEND is defined.  But otherwise, it's got the
same "quiesced or not" dimension as a usb_interface.

- Dave


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux