misc: rtsx_usb: Use USB remote wakeup signaling for card insertion detection
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 5 Nov 2018 08:45:03 +0000 (16:45 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit883a87ddf2f118fbce617b1b3472b8224803eb14
tree93fe851c8278635aca78949ea32d0bc99ad88d73
parent01a7e8e066a505933b43a8df6da1ae1a1e7bddf2
misc: rtsx_usb: Use USB remote wakeup signaling for card insertion detection

Although rtsx_usb doesn't support card removal detection, card insertion
will resume rtsx_usb by USB remote wakeup signaling.

When rtsx_usb gets resumed, also resumes its child devices,
rtsx_usb_sdmmc and rtsx_usb_ms, to notify them there's a card in its
slot.

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>
drivers/misc/cardreader/rtsx_usb.c