linux/drivers/memstick/host
Kai-Heng Feng 6827ca573c memstick: rtsx_usb_ms: Support runtime power management
In order to let host's parent device, rtsx_usb, to use USB remote wake
up signaling to do card detection, it needs to be suspended. Hence it's
necessary to add runtime PM support for the memstick host.

To keep memstick host stays suspended when it's not in use, convert the
card detection function from kthread to delayed_work, which can be
scheduled when the host is resumed and can be canceled when the host is
suspended.

Put the device to suspend when there's no card and the power mode is
MEMSTICK_POWER_OFF.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2018-12-17 08:26:24 +01:00
..
jmb38x_ms.c drivers/memstick: Convert timers to use timer_setup() 2017-11-02 15:50:50 -07:00
Kconfig misc: rtsx: Move Realtek Card Reader Driver to misc 2017-11-29 10:16:44 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r592.c drivers/memstick: Convert timers to use timer_setup() 2017-11-02 15:50:50 -07:00
r592.h Fix common misspellings 2011-03-31 11:26:23 -03:00
rtsx_pci_ms.c misc: rtsx: Move Realtek Card Reader Driver to misc 2017-11-29 10:16:44 +00:00
rtsx_usb_ms.c memstick: rtsx_usb_ms: Support runtime power management 2018-12-17 08:26:24 +01:00
tifm_ms.c drivers/memstick: Convert timers to use timer_setup() 2017-11-02 15:50:50 -07:00