From patchwork Sun Jan 21 20:28:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 10177085 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 23160601E7 for ; Sun, 21 Jan 2018 20:28:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12E8F26224 for ; Sun, 21 Jan 2018 20:28:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0782E26E3C; Sun, 21 Jan 2018 20:28:48 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 929C126224 for ; Sun, 21 Jan 2018 20:28:47 +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=82QnWXf5DBNS5/lSEW42AQat+NbaUG3m81UXL7SMl5o=; b=hrB oHF92/wCzpRLKPhuxL61cNlhMuydq09YUPO8wNvGV1XlHHvGExiZTcXl61pM+c4H4Hy2IOb/aq1OX /2OjgjB6/ne0xQpywO9v6lmeHGSklt/uMdzqJjHJSY71sRjtcHe8UWoZjvb0d41ZP5rxAX5kXhn7o NFaTZnjAyyAUBHXVYD1EHO63skYe2/jmrSIHfE+6O/9wjH+2WDUTOzqwGaa87oU7Nkk8vXuK13m6d e1bfhRAQtvZtUaJFvUNmllHbFXeJl43/Mcm8/ahnmjkUH9p27JR3KRonJqu7DsYREP+NCfYTHNuru Zkl5eftYvH5RtQvSk6wO8+ho6ZB/COQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1edMEM-00089M-QE; Sun, 21 Jan 2018 20:28:42 +0000 Received: from vern.gendns.com ([206.190.152.46]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1edMEJ-00085i-0H for linux-arm-kernel@lists.infradead.org; Sun, 21 Jan 2018 20:28:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2PFei74KHKwls54oim+7uxyc0t3SaROkklFNUuPWQIE=; b=Ib20jnBcKzjo+w0+FOQWyuXj1q wOGN1zJrKDgE0wvakquFWmlMmXMtHG9H0rX56SFWdOsH5uwrRQ3RPeWY1LZl+Wg70ddAk8Wp9iAjH HAkfEOx8TrPBqR34sqZZ6HUh4e/XzolSdwvo+T4lHZBNue6mBlXYfmhAH60bqKi6ZZ21lrkdvXUB3 7tsPWYO2/XqBswnxHwG5PZhejDTt+itPs/20dszr8LTQ28ydT/mdycGjw1tja26ATDeltWlQUKCuj sw2dyJnB0kfpYdwdQ1FOQNBDY5p/QIoEH6lr3uj8dHveriqtgP+8KfwvWYzYkB0Bn30BIuBlKS4jz I4eU911Q==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:46164 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1edMDb-003x1s-Lg; Sun, 21 Jan 2018 15:27:56 -0500 From: David Lechner To: linux-mmc@vger.kernel.org Subject: [PATCH] mmc: davinci: suppress error message on EPROBE_DEFER Date: Sun, 21 Jan 2018 14:28:13 -0600 Message-Id: <1516566493-31348-1-git-send-email-david@lechnology.com> X-Mailer: git-send-email 2.7.4 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: 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 , David Lechner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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 This suppresses printing an error message during probe of the TI DaVinci MMC driver when the error is EPROBE_DEFER. Cc: Ulf Hansson Signed-off-by: David Lechner --- drivers/mmc/host/davinci_mmc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index c5309cc..8e36317 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c @@ -1253,8 +1253,9 @@ static int davinci_mmcsd_probe(struct platform_device *pdev) pdev->id_entry = match->data; ret = mmc_of_parse(mmc); if (ret) { - dev_err(&pdev->dev, - "could not parse of data: %d\n", ret); + if (ret != -EPROBE_DEFER) + dev_err(&pdev->dev, + "could not parse of data: %d\n", ret); goto parse_fail; } } else {