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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A116C388F9 for ; Wed, 21 Oct 2020 15:03:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A68472224E for ; Wed, 21 Oct 2020 15:03:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2443914AbgJUPDD (ORCPT ); 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-spi@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--