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
Kconfig
Makefile
r592.c
r592.h
rtsx_pci_ms.c
rtsx_usb_ms.c memstick: rtsx_usb_ms: Support runtime power management 2018-12-17 08:26:24 +01:00
tifm_ms.c