Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2247238pxb; Fri, 5 Feb 2021 12:40:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJycVZY3MFR3yI3F9P/iqKHRPbaGlmLHjVFw73BT9PvSv8/9P86LyjmQRIOznrnwKMXP+N+w X-Received: by 2002:a17:906:9bf8:: with SMTP id de56mr5623438ejc.425.1612557610411; Fri, 05 Feb 2021 12:40:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612557610; cv=none; d=google.com; s=arc-20160816; b=yt4z2t1/LZPcouT3OCPxmv41ouArIDsVPcHma7Evh3bCmxbxQF0aVs5IRyw7qVzcxl r2UiGSs/QhvbQ+MfY11xVwcx+vBDuDgMGcIif4J7gkc9CLJFKhuRrw8OyutBO5DRsqM0 qC0Er8f7+QtJm2NJReAKbvnNyrq3gJ+jHyvCRo1r5+24llynL0sKM81uVbR+Wzt5fppz oGttrcXwj2Ok+ihh5YGl7s7kL1KbMut73Z+PuXZEuda7ZeFeExNMDtqsGC6PVbYQKo9Z ZvNQHdAk92ZRmWUigNLR2mFv3iSAyzRTM3W00wh4xFkkjN2/pWiHyw7FAxlT9o9f5XbV jjlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TXYPeP3eY5FILmA933pGzgcYgK3zECUBUcXkap1pAes=; b=bOn/FrUF0hPNl/8WiqSL2lLcMeFWFF1rvj4JvLdazSTlPOwOJTggMc1pRF13+mQYtC 4gh/pZ4SD7snbl59ZuOS9AdkV1szTfrU37/r1JyZXoTd5chHhlVBq2+U9frOpIycjxWj 23AY1o324vEQgKCCsejtUAaqOp/Xoqq5Ealwxgd+BfuMGyLdYi99gFQ2ZNtBtnvYrpcS ErS3f/y4KbAgnlMbYXVFNKf1JXg2WN0UrZnPtVWQsmS8chxKg4Ll81f2MZAea4VFqLNn ZPavoiDQ/7dQ27m19Ohno1geep9VJAsamSWrwH+Kgq720z6uTrcILvQ65LUr9wcTIxQ5 3HtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=swGUw+mQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si7691676edv.513.2021.02.05.12.39.46; Fri, 05 Feb 2021 12:40:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=swGUw+mQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S233190AbhBESzg (ORCPT + 99 others); Fri, 5 Feb 2021 13:55:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:45950 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233093AbhBEPEk (ORCPT ); Fri, 5 Feb 2021 10:04:40 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6668964EE0; Fri, 5 Feb 2021 16:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612543364; bh=Z2xR3YEsMozd9AyI+P+EUP0GmbkPKQfSuwpY0Cq0H9Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=swGUw+mQ4bIYUUhZhteYutOf+pkR0+VMNeyWaPIohGmo55Bg6ribIYoWtTST+wZbH zZ68lQGIK1hp/cOI26fD/DYSV327ZrkLP17UBW7EdO3V/7Gs6dvWuDUFigaPYuQ2KQ pvnojUsPq4fMlg/sMPV8wtuwgfPF93b3hBr/vh4OwSwknOoNMnYy6g3NRLORfmfqlM afaCFvHKBTdmYu+BiVMOgjxWjjnxgVV9CEiWu5mNks8KmcovTTy6/DSmuSIS2Vxgbr NvVzKFhur3LxTh3Ow4mR+5jfgaelPVCAza8via4uxDW5+pIQcSBopgqzSH6ZXs0c5u YRUQ2OujKo1Fg== Date: Fri, 5 Feb 2021 16:41:54 +0000 From: Mark Brown To: Alain Volmat Cc: amelie.delaunay@foss.st.com, linux-kernel@vger.kernel.org, alexandre.torgue@foss.st.com, fabrice.gasnier@foss.st.com, mcoquelin.stm32@gmail.com, linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 5/8] spi: stm32: defer probe for reset Message-ID: <20210205164154.GA8179@sirena.org.uk> References: <1612523342-10466-1-git-send-email-alain.volmat@foss.st.com> <1612523342-10466-6-git-send-email-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <1612523342-10466-6-git-send-email-alain.volmat@foss.st.com> X-Cookie: Sentient plasmoids are a gas. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 05, 2021 at 12:08:59PM +0100, Alain Volmat wrote: > Defer the probe operation when a reset controller device is expected > but have not yet been probed. >=20 > This change replaces use of devm_reset_control_get_exclusive() with > devm_reset_control_get_optional_exclusive() as reset controller is > optional which is now explicitly stated. This has trouble building an x86 allmodconfig build: /mnt/kernel/drivers/spi/spi-stm32.c: In function 'stm32_spi_prepare_msg': /mnt/kernel/drivers/spi/spi-stm32.c:1022:9: error: 'STM32H7_SPI_TSIZE_MAX' = undeclared (first use in this function); did you mean 'STM32H7_SPI_CR1_MASR= X'? STM32H7_SPI_TSIZE_MAX, ^~~~~~~~~~~~~~~~~~~~~ STM32H7_SPI_CR1_MASRX /mnt/kernel/drivers/spi/spi-stm32.c:1022:9: note: each undeclared identifie= r is reported only once for each function it appears in This may be due to an earlier patch in the series, my script is working back through the patch series. --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmAddVEACgkQJNaLcl1U h9D5ngf/U0NKtBGQTpM/vYV8lyZzpsFLniAZnJzyq4E6SXXJQeY6+VmQt/7XWygG t8Q0KgHNLRep+Ks7DeqdFPbTQU2dzJ6hExzybysoHSyzsEz+Tbjvt7qaoQq9jnY5 WQwFDz5Xsurc8zbWoSlZmKv9DhGPxxGaUAnMt6z0WjNcc5XQr8EboNJO6piMXMkY uMKmHUI/zRiFRm0vpgodW2dKa/Y4InIoRg9IESu2+p4Gv5fa3mVAApx5LWB0oFg4 qMwbjllQl6XUuCJySDPQk/GjIXFN0h4nrE98uZAi8P6zgceT+6q2p3jWl+LvyBQZ MzLSVjaf7lv3SPp3b2/pFO2jeGt98A== =JrV5 -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--