[PATCH v7 8/8] mmc: sdhci-esdhc-imx: fix resume error handling

Dan Carpenter error27 at gmail.com
Fri Jul 17 04:52:58 PDT 2026


Oh, heh.  I missed the entire point of the patch...  It should have
just been:

	ret = pm_runtime_force_resume(dev);
+	if (ret)
+		return ret;

Another way to silence the Sashiko warning about missing cleanup if
mmc_gpio_set_cd_wake() failed would be to add a comment.

	ret = mmc_gpio_set_cd_wake(host->mmc, false);
	if (ret) {
		/* Just leak. It's fine. This path is impossible in 2026. */
		return ret;
	}

The other change was unrelated.

regards,
dan carpenter




More information about the linux-arm-kernel mailing list