Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3660217rwa; Tue, 23 Aug 2022 08:08:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR5RrxTMqMwG+A+9s2EpzVEnyyeVT3Au6QQ/RhUfsXg54aAo+rg6+YlofQmCaV9NSMOx4vly X-Received: by 2002:a05:6402:84d:b0:435:a764:9aad with SMTP id b13-20020a056402084d00b00435a7649aadmr4360498edz.332.1661267310515; Tue, 23 Aug 2022 08:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661267310; cv=none; d=google.com; s=arc-20160816; b=c3N07B3wSWGjZAfVMlOr4BiEo2D/ceDORnPL8JMgH5VNpRcWaVDYukHeACMggRyjeO X5/jwBJ6Dl1sErz9WlmXOR9+EAwqiKYsdDI0QIb7EtcBU0FuApU4R5pmG1SmZrpYjmQL Ch79YeHPgFnQGHOkZ/hOZAAa65Fbt3aspj5eUZnXf6AuS+hvWZJRS8xXXtgjZ0rssaGR c4dp+Ev9N/B82GZblflkfunorE3pxhkd52x4inh5mMQQIVi10khihZABohDl9IkmVRbq hKvsA0wYVR/DJuNUCeVVBS+MpMu77TZC0Iml7lL4qVmghOEfeEVNuyZc5zE8Ttv5tk9y 254w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nAP0qzks6gVn5Zi51T/jnpO8q7K05qtrEhchRMrXEho=; b=IY/PGL6nVRLGHej60cXUzSOUof1o3iM2zP2ID7Tg3A6N+JlcRfJBPQAr7RE/kzE4Mr VKmaOi1IeN1dtbF5a0BRj0jtGtmneIjdDumnfQN9mXPjZzLrruQlFmEx/deGr80sUzVU gjHoa2FeEuOYtrZYl5dVaWR+6qSeZd4kkjnE2YI0xyFjQPTH6uYUr6wVQC7fh0PDCXIV 7aVWBmvBdTmybEhtYzpIBAzcmiOGapcxJtPqdXQ43c8HDuadBEvvOnOiIeuBGh0KzkUd 42LzqZ/eVAw2/ya/aP4OrzZ2gbPCZNIJj9w7U3DYYunnMYaBChQZiED+QWUXCcJJdmnz /U4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ehLhM25C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bo14-20020a0564020b2e00b0043e8006a816si2057490edb.30.2022.08.23.08.08.04; Tue, 23 Aug 2022 08:08:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ehLhM25C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243078AbiHWOqz (ORCPT + 99 others); Tue, 23 Aug 2022 10:46:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242814AbiHWOpc (ORCPT ); Tue, 23 Aug 2022 10:45:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBA062DF767; Tue, 23 Aug 2022 05:06:42 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 46191615B4; Tue, 23 Aug 2022 12:06:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBEB8C433D6; Tue, 23 Aug 2022 12:06:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661256377; bh=nAP0qzks6gVn5Zi51T/jnpO8q7K05qtrEhchRMrXEho=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ehLhM25C776yGvnlRfUpApU4JH17JXj9hEg2MlapBomf+ExB5N5JjWBvwLWnSCxiT 6hgQXrG95GCMnX/75gqAvsOomwqiTcdTXYAja8xp4oLilfBarjK0tK+gCIRWinmYVl Ti8QAAL4e83+Od+/lQncwrrCFC+FMxBxIWdoTPkwZv5joJn2XC9NpMAq0QwI9rJLgP w5c/XBuTysv+HtY/Zwt56WNQ3jmnq0cuVUNlQkVVCBkELPmhLOTdi5h9etuyGYYkmE m3Fc9ouH1L1cKOKoX3krK2nSp2ViGw+CDMtnko4+QTPLw/u44zGH+WeMwvlqRIYmLS TrfQ70iovX3EA== Date: Tue, 23 Aug 2022 13:06:12 +0100 From: Mark Brown To: Serge Semin Cc: Serge Semin , Alexey Malahov , Pavel Parkhomenko , Andy Shevchenko , Andy Shevchenko , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: dw: Add deferred controller registration support Message-ID: References: <20220822181853.23063-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Poi0BA6RrE2EcrsC" Content-Disposition: inline In-Reply-To: <20220822181853.23063-1-Sergey.Semin@baikalelectronics.ru> X-Cookie: The revolution will not be televised. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Poi0BA6RrE2EcrsC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 22, 2022 at 09:18:53PM +0300, Serge Semin wrote: > It's pretty possible to have the spi_register_controller() method > returning -EPROBE_DEFER status in case, for instance, if the GPIOs used > for the CS implementation aren't ready to be requested due to the > corresponding platform devices still pending to be probed. Let's make sure > the DW SSI driver won't print error message in that case by calling the > dev_err_probe() function if the SPI-registration procedure exited with > a non-zero status. This isn't adding any new support, it's making the logging less verbose - deferred probe worked perfectly fine without this patch. --Poi0BA6RrE2EcrsC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmMEwrMACgkQJNaLcl1U h9Bl1gf+Msioy2Df8da5Fhj/2K2KV4WM2KH1K9TJoZfs8rWO0URZ8y1GV3PTDgbm ycx3fcmvP0uyzv3PoCrwrHftTyZ3lPRHpKTrzvbZhYj+FAVwZnBWI7/jrhjnRjtg GU116AwtYRglf+Wd4A/Bc2sepIA35oYOYxw4sC2BIr96ACS32YtTKimEamQIXCps FmFfl3C2ix9Auiv5aDGYf9byD8Xt7iYgKucCNMf5RDfRTpa0SnqpMbpQeyEoXB6R U9QW4D54XZWC+pgUq99e8WRGRpk6bnrGPzelrs2yBiCSyJ/MtTh/z6+5oP+UflAx Qn7PKVfROgnnw4hsmln4hvuSoG+SPw== =VYuY -----END PGP SIGNATURE----- --Poi0BA6RrE2EcrsC--