1. 04 Oct, 2011 2 commits
    • Jean Pihet's avatar
      PM / QoS: Update Documentation for the pm_qos and dev_pm_qos frameworks · e3cba324
      Jean Pihet authored
      Update the documentation for the recently updated pm_qos API, kernel
      and user space.  Add documentation for the per-device PM QoS
      (dev_pm_qos) framework API.
      Signed-off-by: default avatarJean Pihet <j-pihet@ti.com>
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      e3cba324
    • Rafael J. Wysocki's avatar
      PM / QoS: Add function dev_pm_qos_read_value() (v3) · 1a9a9152
      Rafael J. Wysocki authored
      To read the current PM QoS value for a given device we need to
      make sure that the device's power.constraints object won't be
      removed while we're doing that.  For this reason, put the
      operation under dev->power.lock and acquire the lock
      around the initialization and removal of power.constraints.
      
      Moreover, since we're using the value of power.constraints to
      determine whether or not the object is present, the
      power.constraints_state field isn't necessary any more and may be
      removed.  However, dev_pm_qos_add_request() needs to check if the
      device is being removed from the system before allocating a new
      PM QoS constraints object for it, so make it use the
      power.power_state field of struct device for this purpose.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      1a9a9152
  2. 25 Aug, 2011 21 commits
  3. 24 Aug, 2011 11 commits
  4. 23 Aug, 2011 6 commits