Skip to contentSkip to conversation

Patch "mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Nov 17, 2016

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()

to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mmc-sdhci-msm-fix-error-return-code-in-sdhci_msm_probe.patch
and it can be found in the queue-4.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From d1f63f0c81c22ba705fcd149a1fcec37b734d818 Mon Sep 17 00:00:00 2001

From: Wei Yongjun <[email protected]>
Date: Wed, 26 Oct 2016 15:04:41 +0000
Subject: mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()

From: Wei Yongjun <[email protected]>

commit d1f63f0c81c22ba705fcd149a1fcec37b734d818 upstream.

Fix to return a negative error code from the platform_get_irq_byname() error handling case instead of 0, as done elsewhere in this function.

Fixes ad81d3871004 ("mmc: sdhci-msm: Add support for UHS cards")
---
 drivers/mmc/host/sdhci-msm.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/host/sdhci-msm.c +1 -0
@@ -647,6 +647,7 @@ static int sdhci_msm_probe(struct platfo
 	if (msm_host->pwr_irq < 0) {
 		dev_err(&pdev->dev, "Get pwr_irq failed (%d)\n",
 			msm_host->pwr_irq);
+		ret = msm_host->pwr_irq;
 		goto clk_disable;
 	}
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.8/mmc-sdhci-msm-fix-error-return-code-in-sdhci_msm_probe.patch