FROMLIST: misc: rtsx: usb: Ensure mmc child device is active when card is present

When a card is present in the reader, the driver currently defers
autosuspend by returning -EAGAIN during the suspend callback to
trigger USB remote wakeup signaling. However, this does not guarantee
that the mmc child device has been resumed, which may cause issues if
it remains suspended while the card is accessible.
This patch ensures that all child devices, including the mmc host
controller, are explicitly resumed before returning -EAGAIN. This
fixes a corner case introduced by earlier remote wakeup handling,
improving reliability of runtime PM when a card is inserted.

Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/all/20250711140143.2105224-1-ricky_wu@realtek.com
(am from https://lore.kernel.org/all/20250711140143.2105224-1-ricky_wu@realtek.com)

BUG=b:425506630
TEST=Deploy kernel on dut and run suspend_stress_test
UPSTREAM-TASK=b:432381162

Change-Id: I24f0182324fffdd7de1fbf42a94793eb02f3f0be
Signed-off-by: Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6772929
Reviewed-by: Minho Park <minhopark@google.com>
Commit-Queue: Minho Park <minhopark@google.com>
Reviewed-by: Kyle Lin <kylelinck@google.com>
(cherry picked from commit 777ebdb589f5327e9e10635880ae2a55de3224ec)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6830705
Reviewed-by: YH Lin <yueherngl@chromium.org>
1 file changed