Message ID | 7e4d922ba5aff5241b0186e9480a98b14693b28d.1558346019.git.baolin.wang@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp93645ili; Mon, 20 May 2019 03:12:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxze0+aF4zmrvKsCmIKASnC0VAX3hWaAGm/VSL/eDnVAeVUQ5gByN5kCIvn1jw7Vhu3cToe X-Received: by 2002:a17:902:e00f:: with SMTP id ca15mr74553985plb.76.1558347148826; Mon, 20 May 2019 03:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558347148; cv=none; d=google.com; s=arc-20160816; b=sddqcSZnaBK4H6PCTGKFPc1SawZJ8HW7W2yMsXoNiMO9CWOYcACJm0kbSjOnmpMjBX YWzIQKE528LIXA7Uo6K5ExG3OEx2lGzup+HJPSgyWhZ+KpX2OupYkEqpcENNP9qbNdJm 70nZG+15mqzBkAWNU9O0Zh74MloLqIUAFFbAcFP+Emh0/ExL/zn+nNYVQ2vyABRgiGEC ZS8A0TjUzLujUDAceInN2SfwNkwVGHDXguuIsUTW+KlVkOEnvQW7QZIWdQJjJESeeTxI Ls8h2Zc4MlWE0SKWN56regmGKqwhw7ubLmdugiQ2YtD06c3jfq0RJD906SZu1ZPoXjfp WdaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=va9J4UW4i6NFUGtzfpaY8tfEC/B62lw3LIia2oCGJ4I=; b=GAKQ97BHatNEV7/+poSArcNSLfoGvJg9kq/RdXkx6BHXMlsJk7s3welWOBl+pbwaqB 57ZfU5x7KhYct9bRDo+yns1MUvaxVZlMEHZX3jeMMJFDmNMIR4xyCP43AsG1ymazfov2 gWn/JPS8BRNzQjE4RIwxOMmlpYLJ68VxJ6R0/F23QtQisy/OU+CjHSn8nHddSv5xt97h B9ryYu65oBT8J423r+NsGpLZDiZtgmpOt1MluW1XnMyFBVZZhfv0zdUC5GnEfaybgqZk c69fNEL0m2lR9wtU82A1KXnlMJIlj/sAp5GMAxp0+H6JxKd+fzEUn2pyE0Sga3+V7mAY VO7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CqYTASlz; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si19120059plk.200.2019.05.20.03.12.28; Mon, 20 May 2019 03:12:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CqYTASlz; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732388AbfETKM2 (ORCPT <rfc822;sumit.garg@linaro.org> + 7 others); Mon, 20 May 2019 06:12:28 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:36053 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732416AbfETKM1 (ORCPT <rfc822; devicetree@vger.kernel.org>); Mon, 20 May 2019 06:12:27 -0400 Received: by mail-pl1-f196.google.com with SMTP id d21so6514451plr.3 for <devicetree@vger.kernel.org>; Mon, 20 May 2019 03:12:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=va9J4UW4i6NFUGtzfpaY8tfEC/B62lw3LIia2oCGJ4I=; b=CqYTASlzHxuj19VEkiNYFaWBgj/+AcONyfvUgSBiBiQDowtzgjclMCFW17Cx6Liwr/ yTHpl33VMY+PK1nwAw97ptE/aov9Ny5Gd9CDUPr0BmI6OPlfMVCa88nBG0nfPFrWKmc5 4xJmj6AY4t13zS/X2WSYUqFnK48emMw1jtHxivKXmKM0FLP1o78D9881x/AX5Y5H4trs BR7RWlDcGDLZXJQywZ1nZaZE1slyONTDCdLubvEOiOJ43/lPQo5uRKtVdbjKNxgEFBYR psxab5AHlmJ1Xmw4MdgUFX5yEcnCO4VWW9lbwf2QlwniZg7uBKRAoLg1DUSzr20QZmNr 5xsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=va9J4UW4i6NFUGtzfpaY8tfEC/B62lw3LIia2oCGJ4I=; b=K2RMKv3AmNF08MtwVPvjK9yvNDntBfkx7KOOXdJLouioVj4q0U7c8vryX7nWjdp4li /fFXYs518n6n/kt+LOemH8IT5KsfkNuq+XP4UVaoEKhA66FUeZ7PrzSujx0mwBwODVR3 R9zp+9HF3+v2NlsHW+RnLLWyDneko6tp3Ge+mcpEHw55sktEqyrWf6C298kZphJrcUqk uvitQfIfjM5ALCjg5Tui3cvIgKINoRvJETqdgDmR9qL/SHmdMvsqrPTfUwJhWQXSl0iB wfXVzVY4kialnqxi8LByOuBFksucl9mrHdtaq1snc0X24CEKAjrLqd3IygVfYxlAyqpk 2G4A== X-Gm-Message-State: APjAAAVLO2c1c8LCoa8t0niyIw057uNamKGC5wdz5m7YSTuFu9XtRk6G NLMvsL0i6LBvRtlaP0oMsx69Gw== X-Received: by 2002:a17:902:f212:: with SMTP id gn18mr12999942plb.106.1558347147096; Mon, 20 May 2019 03:12:27 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id b3sm30098127pfr.146.2019.05.20.03.12.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 May 2019 03:12:26 -0700 (PDT) From: Baolin Wang <baolin.wang@linaro.org> To: adrian.hunter@intel.com, ulf.hansson@linaro.org, zhang.lyra@gmail.com, orsonzhai@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, olof@lixom.net Cc: baolin.wang@linaro.org, vincent.guittot@linaro.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/9] mmc: sdhci-sprd: Check the enable clock's return value correctly Date: Mon, 20 May 2019 18:11:54 +0800 Message-Id: <7e4d922ba5aff5241b0186e9480a98b14693b28d.1558346019.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <cover.1558346019.git.baolin.wang@linaro.org> References: <cover.1558346019.git.baolin.wang@linaro.org> In-Reply-To: <cover.1558346019.git.baolin.wang@linaro.org> References: <cover.1558346019.git.baolin.wang@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
Add SD host controller support for SC9860 platform
|
expand
|
diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c index 9a822e2..e741491 100644 --- a/drivers/mmc/host/sdhci-sprd.c +++ b/drivers/mmc/host/sdhci-sprd.c @@ -368,7 +368,7 @@ static int sdhci_sprd_probe(struct platform_device *pdev) if (ret) goto pltfm_free; - clk_prepare_enable(sprd_host->clk_enable); + ret = clk_prepare_enable(sprd_host->clk_enable); if (ret) goto clk_disable;
Missed to check the enable clock's return value, fix it. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> --- drivers/mmc/host/sdhci-sprd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5