[lkml]   [2018]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4 v5] Keep rtsx_usb suspended when there's no card

This is based on Ulf's work [1] [2].

This patch series can keep rtsx_usb suspended, to save ~0.5W on Intel
platforms and ~1.5W on AMD platforms.


Kai-Heng Feng (4):
misc: rtsx_usb: Use USB remote wakeup signaling for card insertion
memstick: Prevent memstick host from getting runtime suspended during
card detection
memstick: rtsx_usb_ms: Use ms_dev() helper
memstick: rtsx_usb_ms: Support runtime power management

v5: Corretly use system suspend/resume and runtime suspend/resume callback.
Prevent runtime callbacks get call during system suspend.

v4: Use pm_runtime_put() in memstick_check().

v3: Skip parent device check in rtsx_usb_resume_child().
Remove dev_dbg() if it only prints function name.
Use ms_dev() helper at more places.
Remove const qualifier for UNIVERSAL_DEV_PM_OPS.

v2: Resend to linux-usb and LKML.

drivers/memstick/core/memstick.c | 4 +
drivers/memstick/host/rtsx_usb_ms.c | 173 +++++++++++++++++-----------
drivers/misc/cardreader/rtsx_usb.c | 8 ++
3 files changed, 117 insertions(+), 68 deletions(-)


 \ /
  Last update: 2018-10-24 10:51    [W:0.088 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site