1. 13 8月, 2016 14 次提交
  2. 11 8月, 2016 25 次提交
  3. 10 8月, 2016 1 次提交
    • N
      ravb: add sleep PM suspend/resume support · 0184165b
      Niklas Söderlund 提交于
      The interface would not function after the system had been woken up
      after have been suspended (echo mem > /sys/power/state) cycle. The
      reason for this is that all device registers have been reset to its
      default values. This patch adds sleep suspend and resume functions that
      detached the interface at suspend and restore the registers and reattach
      the interface at resume.
      
      Only the registers that are only configured at probe time needs to be
      explicitly restored by the resume handler. All other registers are
      reconfigured by either reopening the device in the resume handler (if
      the device was running when the system was suspended) or when the
      interface is opened by a user at a later time.
      Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0184165b