diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2025-05-21 11:31:34 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 18:41:02 +0200 |
commit | 058bbe6711a151fbb7c14d74b70e7c4688129a8c (patch) | |
tree | d94e2f1e8200fd8de88b82963fe3c3da11d781a7 /drivers/platform/chrome/cros_ec_sensorhub.c | |
parent | e16bb87ce870197f5cab686f96024b9c13055233 (diff) |
mmc: sdhci-esdhc-imx: Don't change pinctrl in suspend if wakeup source
[ Upstream commit 031d9e30d569ca15ca32f64357c83eee6488e09d ]
The pinctrl sleep state may config the pin mux to certain function to save
power in system suspend. Unfortunately this doesn't work if usdhc is used
as a wakeup source, like waking up on SDIO irqs or card-detect irqs. In
these cases, we need pin mux to be configured to usdhc function pad.
The issue is found on imx93-11x11-evk board, where WiFI over SDIO with
in-band irqs fails to wakeup the system, because the DATA[1] pin has been
set to GPIO function.
To fix the problem, don't change the pinctrl state in suspend if there is a
system wakeup enabled.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Link: https://lore.kernel.org/r/20250521033134.112671-1-ziniu.wang_1@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_sensorhub.c')
0 files changed, 0 insertions, 0 deletions