Message ID | 9c76f06c8ba1762c9706f2c20878bf39d46370dc.1559635435.git.baolin.wang@linaro.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <bounce+26986+152+1554929+3438807@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D8AE814DB for <patchwork-linux-kernel-org@patchwork.kernel.org>; Fri, 5 Jul 2019 22:25:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7A6828A8C for <patchwork-linux-kernel-org@patchwork.kernel.org>; Fri, 5 Jul 2019 22:25:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9E3328AAB; Fri, 5 Jul 2019 22:25:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,MIME_HEADER_CTYPE_ONLY,RCVD_IN_DNSWL_LOW, T_TVD_MIME_NO_HEADERS autolearn=ham version=3.3.1 Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 388CC28A8C for <patchwork-linux-kernel-org@patchwork.kernel.org>; Fri, 5 Jul 2019 22:25:53 +0000 (UTC) X-Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by groups.io with SMTP; Fri, 05 Jul 2019 15:25:52 -0700 X-Received: by mail-lf1-f65.google.com with SMTP id u10so7170557lfm.12 for <patchwork-soc@linux.kernel.org>; Fri, 05 Jul 2019 15:25:52 -0700 (PDT) X-Gm-Message-State: APjAAAU0K92qeAdoFRLE6PM6HEpRVI+YyVoQIaewHxu7EHISdo4mf0yn uTM5HEawOuHJbCrOWS+elSxBZynh+nig7w== X-Google-Smtp-Source: APXvYqwSFOp/1p+AG3cadRYEUlpl+N9DnfTljMoH/fG6kHIHvIeVSrNO2Arwjj+55vfiw+SQ23l92g== X-Received: by 2002:a19:c503:: with SMTP id w3mr2681957lfe.139.1562365550193; Fri, 05 Jul 2019 15:25:50 -0700 (PDT) X-Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id b25sm1577758lfq.11.2019.07.05.15.25.49 for <patchwork-soc@linux.kernel.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2019 15:25:49 -0700 (PDT) Resent-From: Olof Johansson <olof@lixom.net> Resent-Date: Fri, 5 Jul 2019 13:51:26 -0700 Resent-Message-ID: <20190705205126.tz3mh7hnw4xacytl@localhost> Resent-To: patchwork-soc@linux.kernel.org X-Received: by 2002:a05:6602:220a:0:0:0:0 with SMTP id n10csp5434700ion; Tue, 4 Jun 2019 01:14:53 -0700 (PDT) X-Received: by 2002:a63:330b:: with SMTP id z11mr33217715pgz.407.1559636093433; Tue, 04 Jun 2019 01:14:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559636093; cv=none; d=google.com; s=arc-20160816; b=FY2IX/+rtSpqt056r0Rp8vyQg6DI1XLpwWBI8DVCYDf0Ch3kX9JfVgQG2VU5m1SRTD PcdrHMo2d/GbvFAuVCpjtMEbXy9aB2HMR0i3qD4DSkqgu/6IWfbwTCGV1uNsfr/mdU4s E6wa7oJME9Ed5vbRYeV0MRYOHzqF+Gcaen368bw3Ag0g6tjTQ2Nw5HibvOe2X+V6AQ48 /QKZslN26//atIMS7Vzzot5Nw+Zz2xDlTxW5Cu1wajbdZ/vQG5qRs6c/eChBkDOjpnRi F7QALb3Kof+5mI1abgqIqBVj6Rhr5CciaIH7j50Tv734jTBu7ZNSTu8IIbNkEiLxFLRC qK8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tvMJ5s9gExvOA7lMPut++cP3zHcPvryLWLVuc4mHs3M=; b=Nw/X/2Mh2hd57lH+Psa5MFifwUHdk+uJ5zZn1znyp6A8oSw/bxT3NS1ssIdLpZxSDS u5Xi5yjuBUh9wDnSqc8DIHUxIO9622iLRHoCE3UjxE83/O0Dzsb6M4Oa+N3g5GtqboUD Qy9CiTqsSA6Whc/Mv9hWywAbWsZIGLQLneMqJi9Z/uPfYOCGDm7AGzpzAHimNSwb1MQr NlzzaQQRMi77FAKSrq09Glo9i9LQ1OxL9/4q16GPdO0y9mupE6rbRPNQYg5axcPs7FfL 9ktIUEXeQGTtKn8xvvnOPRkmHN+KyE8wKlvDN7KbtWpx7yV9FYGZuWZRk7Z2GvyfaiPQ ko+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KvCoOxV2; spf=pass (google.com: domain of baolin.wang@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=baolin.wang@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id j20sor19354908pfi.52.2019.06.04.01.14.53 for <olof@lixom.net> (Google Transport Security); Tue, 04 Jun 2019 01:14:53 -0700 (PDT) Received-SPF: pass (google.com: domain of baolin.wang@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:aa7:8ece:: with SMTP id b14mr27207253pfr.244.1559636093172; Tue, 04 Jun 2019 01:14:53 -0700 (PDT) X-Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id j4sm14818804pgc.56.2019.06.04.01.14.48 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Jun 2019 01:14:52 -0700 (PDT) From: "Olof Johansson" <olof@lixom.net> 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 v2 1/9] mmc: sdhci-sprd: Check the enable clock's return value correctly Date: Tue, 4 Jun 2019 16:14:21 +0800 Message-Id: <9c76f06c8ba1762c9706f2c20878bf39d46370dc.1559635435.git.baolin.wang@linaro.org> In-Reply-To: <cover.1559635435.git.baolin.wang@linaro.org> References: <cover.1559635435.git.baolin.wang@linaro.org> In-Reply-To: <cover.1559635435.git.baolin.wang@linaro.org> References: <cover.1559635435.git.baolin.wang@linaro.org> X-TUID: 6BdADSp+RhRz Precedence: Bulk List-Unsubscribe: <https://linux.kernel.org/g/patchwork-soc/unsub> Sender: patchwork-soc@linux.kernel.org List-Id: <patchwork-soc.linux.kernel.org> Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org Content-Type: multipart/mixed; boundary="6ug6d9WphsPapSUPnTDG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1562365553; bh=wl6RipAfc8pQIsuU+Btgw5EkEQ8spiGZrn4QztV1/ZQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=KY1ThzQzE2hP+YuM9VQCCe9DL8yYWfgw0AaEv7UKMK8fl+FrLhiNQiE/Ej9Ic6zFxqv 53IXYN3f5avATBbn6+pLX8+pmU3Ki4RA7MkboZmnRNI1frGJ2FcTX4Jm8wBs/eK5lJCWt vZURO9lOnqXMCndb1e8jZDdQoL0Q71acGQI= X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[v2,1/9] mmc: sdhci-sprd: Check the enable clock's return value correctly
|
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;