From b7885e260466870e317e722a812e8221ca5d7224 Mon Sep 17 00:00:00 2001 From: zfdx123 <2915441170@qq.com> Date: Thu, 31 Aug 2023 13:11:34 +0800 Subject: [PATCH] Test: Fix: Revert: drivers mmc host sdhci-msm.c --- drivers/mmc/host/sdhci-msm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index df40c38ee9f2..a709fe7e6ff8 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -5657,8 +5657,10 @@ static int sdhci_msm_probe(struct platform_device *pdev) /* Setup PWRCTL irq */ msm_host->pwr_irq = platform_get_irq_byname(pdev, "pwr_irq"); if (msm_host->pwr_irq < 0) { - ret = msm_host->pwr_irq; - goto clk_disable; + dev_err(&pdev->dev, "Failed to get pwr_irq by name (%d)\n", + msm_host->pwr_irq); + goto vreg_deinit; + } ret = devm_request_threaded_irq(&pdev->dev, msm_host->pwr_irq, NULL, sdhci_msm_pwr_irq, IRQF_ONESHOT,