Skip to content

Commit

Permalink
Test: Fix: Revert: drivers mmc host sdhci-msm.c
Browse files Browse the repository at this point in the history
  • Loading branch information
zfdx123 committed Aug 31, 2023
1 parent 1e3632d commit b7885e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/mmc/host/sdhci-msm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b7885e2

Please sign in to comment.