commit | 133f23815c060fe6065ffc29adcc1834caec5dea | [log] [tgz] |
---|---|---|
author | Jongpil Jung <jongpil19.jung@samsung.corp-partner.google.com> | Tue Jul 15 08:39:48 2025 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 11 04:53:15 2025 |
tree | 5a4f3175add772045f45c6976da7cbcefd9d782b | |
parent | 5fa6d16585182767ae77d78d719ac32ba97e4637 [diff] |
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>