From patchwork Mon Aug 6 08:43:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 10556689 Return-Path: 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 8E33B13AC for ; Mon, 6 Aug 2018 08:43:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7964529216 for ; Mon, 6 Aug 2018 08:43:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D0F62921B; Mon, 6 Aug 2018 08:43:32 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 28E0F29216 for ; Mon, 6 Aug 2018 08:43:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=KSsWgnKtvHC1v1D2uOV28lU4hkvOnluq4KxlSlV5uNA=; b=AJp jTgun4jiB9G3BuRAQQ04NYerHZ1GvJb9Klf7nXhkXhRuMpcSK2NTzwu6c7sGjjDDHm8pzsrq7hMye gyHp1ofrG09Jr7A6GB64kTrl+QCfuoYrJo0uN2wh5jwdmnQ0rXqtrd+PI7E8q5ApIFA6uOnv6ipev AZoyjJzE7H1wwQIvpyPYbhklE8Y2/1OMDaLQUAksyN9eg/g/fUlXPzdrKoQfwNgME8hPR8a5uv0lj cqXOTN6maBPoLWGL0QSA6iSBZXRMeZY53IJzYpUt3zz4qV5bnlVUxvJbrUE6rYyXtXHiKW8uRT5bh qKpzyKepWY6uExeZ0F6D7PZqngmPcjA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmb6t-0005sd-JG; Mon, 06 Aug 2018 08:43:27 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fmb6p-0005qv-PH for linux-arm-kernel@lists.infradead.org; Mon, 06 Aug 2018 08:43:25 +0000 Received: by mail-wr1-x444.google.com with SMTP id g1-v6so8057924wru.2 for ; Mon, 06 Aug 2018 01:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=VU6e4GfG2iXdHiURflCugDBBIZkFlimblY6zlQ48LMo=; b=sDLI8dvWUyyV30hpoV1xxgWKwGm9AUVSbLNa/m8I5qTK/KPz/f9uSfrmAl7awGDPQP WqXaAW/XTCN4wdhrR/6AXoRskImAangY4TYkFE5lGnNRJ9N6UGVtB0M/j24cx6F8hSkz wjY8faH7QOAnwfaf0GO4w2fG1JKl/GYy0Kj12FG6YjtL6QytIGrgQH1TYKbRAvxibdrS oAsARehcgQP+P58DIVJFO6Ucwe8ZvqS7hSEkYQ7B/7fe081t6lhaZ0L3HyW7ESNSgvse zriVoxAKvRATr++o86ri7X9rQE9GVsz5Z3bR4DV0q8cr+fsimEEk3f8uHY5waMWAZx3o twIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=VU6e4GfG2iXdHiURflCugDBBIZkFlimblY6zlQ48LMo=; b=X6SlBfy5s56v4Wp3PAgw3Y0Aadmu9QTtmQpmugZ+4lJuQrmq2SDI5TcBIcuFCGPNZ8 mrkiF6+eIaLhTG1co5H8sOKhx+Hz+cH+clInzyKK0Xbi8s8q4oHcRMJV02cYnf9lFmZA +lqQOaWcuX1pGbJjrCUCWsXusN/VQwbhn7op+tK6rLjHAm0yo4T6RvRzkBpuJosDuajN jAz3LUg/OKzBwF79uMaOE3sAp3oa6x6abfxZFR4I5fZJuxBt4F6wAzJzzcvumPfPQinX hW+sgBxIK+ZfOevMrLidUtS6s7I6IQh8expJqwu0UL2lyY+KHtJUVuqXBFunaaB2zFMT TfRg== X-Gm-Message-State: AOUpUlGQzxjTAc2sOXGiK8iYzhPbB4l88ne3SLjMKNf1rwGGQp2jPKAX 2I9svrU7WdSwuQNoZ3OBZMKrfg== X-Google-Smtp-Source: AAOMgpfEKxbOxU/ZiP8ilmGH32SubfU3IiuVjfQXSI+bgYaV85JObZ8wUU8gvpfaWWEkiWtaF6eRgw== X-Received: by 2002:adf:9e84:: with SMTP id a4-v6mr8773551wrf.70.1533544991733; Mon, 06 Aug 2018 01:43:11 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id 7-v6sm12333972wmr.16.2018.08.06.01.43.11 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 06 Aug 2018 01:43:11 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu Subject: [PATCH] mmc: sdhci-of-arasan: Do now show error message in case of deffered probe Date: Mon, 6 Aug 2018 10:43:10 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180806_014323_820308_B6FA0818 X-CRM114-Status: GOOD ( 13.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , linux-mmc@vger.kernel.org, Adrian Hunter , Jaehoon Chung , u-boot@lists.denx.de, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP When mmc-pwrseq property is passed mmc_pwrseq_alloc() can return -EPROBE_DEFER because driver for power sequence provider is not probed yet. Do not show error message when this situation happens. Signed-off-by: Michal Simek --- drivers/mmc/host/sdhci-of-arasan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index e3332a522a5d..e65f3bce3643 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -772,7 +772,8 @@ static int sdhci_arasan_probe(struct platform_device *pdev) ret = mmc_of_parse(host->mmc); if (ret) { - dev_err(&pdev->dev, "parsing dt failed (%d)\n", ret); + if (ret != -EPROBE_DEFER) + dev_err(&pdev->dev, "parsing dt failed (%d)\n", ret); goto unreg_clk; }