diff options
| author | 2026-07-15 15:18:16 +0800 | |
|---|---|---|
| committer | 2026-07-15 10:59:50 +0200 | |
| commit | 8da5930144712412d85e7f868693d96ec5c2018c (patch) | |
| tree | 26a815282ea44f836a4381b956fdb8d42078f026 /tools/lib/python/kdoc/python_version.py | |
| parent | mmc: sdhci-esdhc-imx: disable irq during suspend to fix unhandled interrupt (diff) | |
mmc: sdhci-esdhc-imx: use pm_runtime_resume_and_get() in suspend
Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() to
simplify error handling. pm_runtime_resume_and_get() automatically
drops the usage counter on failure, avoiding the need for a separate
pm_runtime_put_noidle() call. If it fails, the device is unclocked and
accessing hardware registers would cause a kernel panic, so return the
error immediately.
Fixes: 676a83855614 ("mmc: host: sdhci-esdhc-imx: refactor the system PM logic")
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
