From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92880C433F5 for ; Thu, 23 Dec 2021 17:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8xsAnBUwScNgk7nZMRwDsnSW0xDyjiekyYK7n0UgezI=; b=QCoh56e2FpxktK hp7pBMlUJHi6MIf+rLP7L5lGmVIskXtVVoBlLT4J/ol1F1Jzo3GFh2MbX8T++5i/bYJdzBi0Zriik 2/zmJGBvhrWdTOYWX+PjOkf78stbfC9Ty8rMs/4xmMFIr1LIFuIFsciEApb7GzavWsjA9ku2dYAHI 5mICESdI2wLBV7Krru7XREkEvCmgG0jP1YGqI89v3AFHS5LCoUwGJxS/o9vfjlR2YLR7b2tSsvLGt 9a69G970SYIl0U6KJ+/2OuwW8SGWEEmhYra4lpTh7SUJIdWtO3SHjWJwkEAClpZgvzqAEI8V13IMT hFAjKkF3Rz4O9qRCyDeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0Rxh-00DDOH-S5; Thu, 23 Dec 2021 17:33:06 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0RxH-00DD79-8K; Thu, 23 Dec 2021 17:32:40 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 56BCFB81FBD; Thu, 23 Dec 2021 17:32:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA693C36AE9; Thu, 23 Dec 2021 17:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640280756; bh=QMOb2xFvtVi3U3ng5z2XUO40wX+8YRmINn5LHBGfPRk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eB+TAFQXRb35uiMLk4gHFZQrgfvvC75DGzbf6d5HDDktQUeYrN1d7NDG+PR/x8YAD 3xz/7Avzo7RrlzIce5mOwzr7JJOVs807qprBS4c+gkNvt7bMvu5iwY8fpMRHGDugel q40duFZTm3Zep+RxpwaE9zyD57m8ggsTPzUF/WK7amE2xmahpOEW/WY7EWuavF2dWq 48Kk6ScQrutbnmXDPnmPGv0iP3zVuJ7AC5iM1JQbe9d05CW0pSYbKOPXrOdp5Ak/Ou v1wystuDt6yZlp844LQRnALZ2C1iMkflldqRLn7d5oooDXmxgWgdradeI0P2+bCR/J u1ZbZkxM8898A== Date: Thu, 23 Dec 2021 23:02:30 +0530 From: Manivannan Sadhasivam To: Sergey Shtylyov Cc: Ulf Hansson , linux-mmc@vger.kernel.org, Andreas =?iso-8859-1?Q?F=E4rber?= , linux-actions@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RFC 07/13] mmc: owl: fix deferred probing Message-ID: <20211223173230.GB5159@thinkpad> References: <20211223171202.8224-1-s.shtylyov@omp.ru> <20211223171202.8224-8-s.shtylyov@omp.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211223171202.8224-8-s.shtylyov@omp.ru> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211223_093239_483738_91790D80 X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Dec 23, 2021 at 08:11:56PM +0300, Sergey Shtylyov wrote: > The driver overrides the error codes returned by platform_get_irq() to > -EINVAL, so if it returns -EPROBE_DEFER, the driver will fail the probe > permanently instead of the deferred probing. Switch to propagating the > error codes upstream. > > Fixes: ff65ffe46d28 ("mmc: Add Actions Semi Owl SoCs SD/MMC driver") > Signed-off-by: Sergey Shtylyov Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > drivers/mmc/host/owl-mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c > index 3dc143b03939..679b8b0b310e 100644 > --- a/drivers/mmc/host/owl-mmc.c > +++ b/drivers/mmc/host/owl-mmc.c > @@ -638,7 +638,7 @@ static int owl_mmc_probe(struct platform_device *pdev) > > owl_host->irq = platform_get_irq(pdev, 0); > if (owl_host->irq < 0) { > - ret = -EINVAL; > + ret = owl_host->irq; > goto err_release_channel; > } > > -- > 2.26.3 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel