Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp803807pxa; Wed, 5 Aug 2020 13:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYYjZgJJ7kayTIDnwht4tldpX2CJ3M3ZE8JszRCGokt8dN30EPcB4eNKXd+N1DxoCHuKMm X-Received: by 2002:a50:c449:: with SMTP id w9mr986718edf.65.1596658266425; Wed, 05 Aug 2020 13:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596658266; cv=none; d=google.com; s=arc-20160816; b=FzIkF8tzid+HiLGJGVa0tKWNvc6k4d1KUT/f0LHKoNYWNsKAyfdWvuDvCj+8049+ED OY7RsUSHUJWgbRbiv/lweJcdFTsJLeWkgbAotzRd8XVBOodvvESSTfMA7Ny9VyD9UgJR fY1AfqnpoCwcfrUEiD5P5t+64QFfETc3BNrl27RpW/wYqvZRp0kqacU2sqyZF0nGUyyL PZHo3p5fR52NwwXRWQFchP0At1SMtf3nToIbPUPh8kZKbxzDqx0cMIqf9dxTirF05LYb u0ciHYLc+7s/Um2D53IZtPb63x9ECLPKhIE4iuiIOV+4U2bt6D6E5aFZJhnk1bAQ8pc9 3cLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EiATByOyKVVEDEiKPvEDXfJXjBlvSpmgzgFeI6rtaeE=; b=hw824f0i2nFp7ZOC79vrLnNhAhNw5geRk+yALybZIphlqA8m0TrjRxYpmcovtmc1Ha TZ+/SVHMq8oMozDfdDAZBXhQ43aHnbTol0noatenNcy7r5vx9oYBDTAdMW3ZLv494n86 KUeKEiU60EfhZf1xYOkk+6kuhm5qAzqSlhYjqoOhuiFHBcoGAYgutvwoRml+CSeN4oBm AhMMwRSTDSq0k3yOKfWdL/61ss9lf3zTDjgyApPrHZqU447Y6TTAxEyMI/hWjIL2SYDX VhdzuaO/7+ucJY2F6TIUl6MT3gXrStWC745eE1lEDlb3VNsbTUxOKalC9wNV5ze/6oYo kzpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="1U99Db/C"; 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 j8si1841243ejy.610.2020.08.05.13.10.43; Wed, 05 Aug 2020 13:11:06 -0700 (PDT) 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=default header.b="1U99Db/C"; 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 S1728926AbgHEUIZ (ORCPT + 99 others); Wed, 5 Aug 2020 16:08:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:49476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726872AbgHEQce (ORCPT ); Wed, 5 Aug 2020 12:32:34 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BAA1622CF7; Wed, 5 Aug 2020 11:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596625426; bh=EiATByOyKVVEDEiKPvEDXfJXjBlvSpmgzgFeI6rtaeE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1U99Db/ClRkQ6KDU37nlwCde0OcY8IsBhaUDb/7P4LktqYY+Z0aXwlIHJjaLLEg0i HP6UmQ81xNImqJlw9hvBneS5eOrYgM8OpOB2BwT4o1Bk6ZArKj0cqnNrzzsAZPZsn9 CMXDKJsrOkcPyiFsNo1isIOAWdLVMRyDgwbTlfLg= Date: Wed, 5 Aug 2020 12:03:23 +0100 From: Mark Brown To: Alain Volmat Cc: amelie.delaunay@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-spi@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@st.com Subject: Re: [PATCH 16/18] spi: stm32: always perform registers configuration prior to transfer Message-ID: <20200805110323.GJ5556@sirena.org.uk> References: <1596610933-32599-1-git-send-email-alain.volmat@st.com> <1596610933-32599-17-git-send-email-alain.volmat@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x+WOirvrtTKur1pg" Content-Disposition: inline In-Reply-To: <1596610933-32599-17-git-send-email-alain.volmat@st.com> X-Cookie: Fast, cheap, good: pick two. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --x+WOirvrtTKur1pg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 05, 2020 at 09:02:11AM +0200, Alain Volmat wrote: > SPI registers content may have been lost upon suspend/resume sequence. > So, always compute and apply the necessary configuration in > stm32_spi_transfer_one_setup routine. This also. --x+WOirvrtTKur1pg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8qkfoACgkQJNaLcl1U h9BirAf9F8v+4ZpcM5/rsegzbIEMnqmQNj2m1sFs+bLGVfyscsekXzaSTqzqJkC7 nev7KJtz7moksvzFim3TlHdPOTGmX9YOGii/DSqoYftYYbqHLfZhYkEXE5xZQfkm NymiZpnrHMSWOUaV8EGcpL2971rJHz+7LoOwwiJAPLofZu6fJLHXDw7ZMCZ27RIk 6GKEVtsn+Vhh0oh5RzSVeKwmEBtaj0Qng8SA0xRC2+1dGhmPFYAbznHVWrFyJYs1 WtIKtCh/v8wZ732BrS4qiyd/l5UdyesjRBugNMwx7ZNlqLwYHiFQhh8VxX1ot+hI 72nCUjTwhxvzVa40nFYNpPYf/9ZbAw== =1GlO -----END PGP SIGNATURE----- --x+WOirvrtTKur1pg--