On 26 October 2016 at 17:04, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote: > From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > > 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") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Thanks, applied for fixes! Kind regards Uffe > --- > drivers/mmc/host/sdhci-msm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c > index 795f16f..b78d72f 100644 > --- a/drivers/mmc/host/sdhci-msm.c > +++ b/drivers/mmc/host/sdhci-msm.c > @@ -649,6 +649,7 @@ static int sdhci_msm_probe(struct platform_device *pdev) > 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; > } > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html