Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5292626pxu; Wed, 21 Oct 2020 20:29:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/HoiY8BHEw/6bJz+akz7f5iOFE3glYR7+5VeLV+5vmxYUrxxw2UxTbvAd9WfhkCutl0jM X-Received: by 2002:a17:906:9417:: with SMTP id q23mr433259ejx.536.1603337362023; Wed, 21 Oct 2020 20:29:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603337362; cv=none; d=google.com; s=arc-20160816; b=sHK7e0lEMqEonTuhT8CMDHuSB1goPaVp7v8Ls7BfTfPvcSqxoFT1WpPO5uwOcWoBkk SxrHObib0grP2d/jITI6nXddP7wlNJ3xPu64XwmyXrqFHS6qslkLymzM72n9la/+h+1N MC0vXU9XI3aX/r8qhQYwrhBS65Lkmpmob8+9H9gk0nExdazqEu+HNa2wva65LzuuLG1X UJkee2BTUF13LyMpKu/32R24FIBmGkxLUJ5ZrSbCwVDnEj47hzhnuFivf3EUwrln1/Mq TLGE7EdUYrLazY6IPLflm+kULrJPUK8aW2a7guMThhizhDDKd0EfDZfnscWVPTxmxfRh 7gMQ== 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 :dkim-signature; bh=eFu2bMtKLMG2xcNKdFGhIE+PQM9o3Uc5LUJogHhz2Gs=; b=c0N05CvqPsHU3W2YEyjKYY7MGv/hN2q41y9tFi6SJj1l+c0BgsMyCbrU9tvr2lXUTv uAp4mM/RxbfDoa8IST6ej2hkA1sNovxKjnQqtIjsDY4d6BnVbmQi9biKPs5PJUea+zpl n7HK8SKLubp96qaw7McYdkNWG5Mb3pCKH94CcAGHne62Dgl88UEwlHJsIuf4RFqEZcFc 07OKeCPRshTK7sj8MWRUjOV3CiW5JZKMphnjd5NTDalAgJYkd5djnv4RyLOTMuiPgn9o XCednx+CwLWql8FXvkMAdd21wOCJj5sR4ayqiRFuByPF2f4KVVqakSadCvHQxqiCT26Z VE9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=Wj7UfHKN; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VfsL+q72; 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=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si276746edw.241.2020.10.21.20.29.00; Wed, 21 Oct 2020 20:29:22 -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=@cerno.tech header.s=fm1 header.b=Wj7UfHKN; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VfsL+q72; 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=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2443918AbgJUPDD (ORCPT + 99 others); Wed, 21 Oct 2020 11:03:03 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:50647 "EHLO wout1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2443913AbgJUPDD (ORCPT ); Wed, 21 Oct 2020 11:03:03 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B5DFDC55; Wed, 21 Oct 2020 11:03:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 21 Oct 2020 11:03:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=eFu2bMtKLMG2xcNKdFGhIE+PQM9 o3Uc5LUJogHhz2Gs=; b=Wj7UfHKNvs6ZE2gpNUHen4UfQD2mJouXSI7fpBabzf6 o8O/L3bSwm/SS9dMUEXFPgDNzVnasdHEnrWcjeZXwhzdlPx8L5glX5sdAZ3ykZv8 jE9pRJCxQ0gyOeGeXWXh7ZwGoNqI4W1D62F2/o0CuqqKN4Tc8eIe3KjglHmolcpx ekdOWrojCmdLKCyfpBNhoBrFSIxrCNAurdyLB318QUSp2mUypTfeojAN5imh/SDi nxFSlWGDrYolJ58T3EGXBlxar8QQ+EEPXJbVFHelC+p+JhWsrvvQi6ZdVtTcrnyd hh5kc2wjZq2Ppa3wH1DBmgCJrblgFLTBdW728+1tUKw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=eFu2bM tKLMG2xcNKdFGhIE+PQM9o3Uc5LUJogHhz2Gs=; b=VfsL+q72UXF29qV3PdEnn/ hkuQaqJr1h6+7075pWMCpPF9ttEd2hND4RmuLWqCCafmRcp0fdaXN5h+358MH0tV JqysWvMX3wnSffEAZ9NdQOAYnbqHCge2wMTiMuHut29q4O9dCyZn1DcTM2+mTxuv fKZji5ka4TgU/AeG+xOOABTMuhQNuGkz1pVzSMrjJ183J43TXZBvw2fb8fhRO5Wb YTus+N/LcSqLWKrv/T+HzNJMMzN5AOP1DEtiLGmxJ9aer20znDnf1/r5TaDEFQ/L 7NEt+FxNuhVye7KW7fux3YbBJDx5C+JjMqkgIlxno2QeXotyqIkrkxJyp4jAOliA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjeehgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 53F693280059; Wed, 21 Oct 2020 11:03:00 -0400 (EDT) Date: Wed, 21 Oct 2020 17:02:58 +0200 From: Maxime Ripard To: Alexander Kochetkov Cc: Mark Brown , Chen-Yu Tsai , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] spi: spi-sun6i: enable autosuspend feature Message-ID: <20201021150258.mwis3ez5b6emqoci@gilmour.lan> References: <20201019150343.2520-1-akochetkov@lintech.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d2rnhfszvqavfh5e" Content-Disposition: inline In-Reply-To: <20201019150343.2520-1-akochetkov@lintech.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d2rnhfszvqavfh5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 19, 2020 at 06:03:43PM +0300, Alexander Kochetkov wrote: > From: Alexander Kochetkov >=20 > If SPI is used for periodic polling any sensor, significant delays > sometimes appear. Switching on module clocks during resume lead to delays. > Enabling autosuspend mode causes the controller to not suspend between > SPI transfers and the delays disappear. >=20 > The commit also remove unnecessary call to pm_runtime_idle() used > to explicit put device to suspended state. Without pm_runtime_idle() PM > core will put device in the suspended state just after probe() returns. >=20 > Signed-off-by: Alexander Kochetkov Acked-by: Maxime Ripard Thanks! Maxime --d2rnhfszvqavfh5e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX5BNogAKCRDj7w1vZxhR xSudAQCh8jxQhmFsw2AHAgbds1TcgyA1wyq6U0aRuMfs0OJbaQEAlxiWpoFxPZpA GHh9Nazv5DJzszLvscpQJXY2ZnNxsQA= =amT9 -----END PGP SIGNATURE----- --d2rnhfszvqavfh5e--