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_INVALID, DKIM_SIGNED,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 E12F2C433E0 for ; Mon, 10 Aug 2020 14:01:46 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF04F20771 for ; Mon, 10 Aug 2020 14:01:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="qCsWRc2A" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF04F20771 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-kernel-mentees-bounces@lists.linuxfoundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 85FF187D28; Mon, 10 Aug 2020 14:01:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qDlqqBjYg756; Mon, 10 Aug 2020 14:01:46 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 192C187D09; Mon, 10 Aug 2020 14:01:46 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 14619C0864; Mon, 10 Aug 2020 14:01:46 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 18257C004D for ; Mon, 10 Aug 2020 14:01:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 10F7687D28 for ; Mon, 10 Aug 2020 14:01:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jbbocMbDhLIR for ; Mon, 10 Aug 2020 14:01:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9F6D987D09 for ; Mon, 10 Aug 2020 14:01:44 +0000 (UTC) Received: from localhost (p54b3345b.dip0.t-ipconnect.de [84.179.52.91]) (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 05930207CD; Mon, 10 Aug 2020 14:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597068104; bh=WCDaCy20DVEAybtQj2JAipVIVLVeA+07NPBI/qUjUgI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qCsWRc2A5LjW0oRcULhT1PZ4XJw6hwAXAKjDaJSlgB8IrtLO1Q0Ar1TtuINrybn/E rjd2Xay6KM2mgu0KtB/POyWOUWT0SXzwiZvVa/IMRQy1hxuPwdmerig41Lun8Dbpu6 HspKw/k5dGapFv+7awzEguoNDTu9JpGBpCMWttz4= Date: Mon, 10 Aug 2020 16:01:42 +0200 From: Wolfram Sang To: Vaibhav Gupta Message-ID: <20200810140142.GB3923@kunai> Mail-Followup-To: Wolfram Sang , Vaibhav Gupta , Bjorn Helgaas , Bjorn Helgaas , Vaibhav Gupta , Tomoya MORINAGA , Tomoya MORINAGA , Linus Walleij , Ben Dooks , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan References: <20200805165611.GA516242@bjorn-Precision-5520> <20200805193616.384313-1-vaibhavgupta40@gmail.com> <20200805193616.384313-3-vaibhavgupta40@gmail.com> MIME-Version: 1.0 In-Reply-To: <20200805193616.384313-3-vaibhavgupta40@gmail.com> Cc: Vaibhav Gupta , Linus Walleij , Tomoya MORINAGA , linux-kernel@vger.kernel.org, Tomoya MORINAGA , Ben Dooks , Bjorn Helgaas , linux-i2c@vger.kernel.org, Bjorn Helgaas , linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [Linux-kernel-mentees] [PATCH v2 2/2] i2c: eg20t: use generic power management X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1978119970331764670==" Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" --===============1978119970331764670== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt" Content-Disposition: inline --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 06, 2020 at 01:06:16AM +0530, Vaibhav Gupta wrote: > Drivers using legacy power management .suspen()/.resume() callbacks > have to manage PCI states and device's PM states themselves. They also > need to take care of standard configuration registers. >=20 > Switch to generic power management framework using a single > "struct dev_pm_ops" variable to take the unnecessary load from the driver. > This also avoids the need for the driver to directly call most of the PCI > helper functions and device power state control functions, as through > the generic framework PCI Core takes care of the necessary operations, > and drivers are required to do only device-specific jobs. >=20 > Signed-off-by: Vaibhav Gupta Applied to for-next, thanks! --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl8xU0YACgkQFA3kzBSg KbYAdA/+J9rwtS0UF/2vN+uVvGd+HnTm8hJ5KEylc++CpWBrk/Jlme0JgKxB3Kzu R5jKfSY9LIMHOwvjmoSfQb0vG78PeiV67/ro3lmxj264Vr2v+alnkiLLH6pyJLg7 5h07jNAHYi5zjr6ojn8SKDkyQRB2OENewTL0zSkozIkxaK3oOO6SFiRil9g143w7 JUwoW3SgzoFTlfU3MuywLO5YGVDerGBPR5BJcDVOotuvpLdbFuCaeTK8hAc3N9PP u0JpclUO9WiApOcpfhia0wxudXOXeEM5meftdYxNIrJ6fbN8/ftWtB0pblKGLu/V w36n0bezcfE+1pAhWsm4/XIKjuH+S7wQUq4kT9u33gEjYSD7bI95mLHGAfYuIVf5 Z0PFKmebLIil5GblIYeEWH+PnZPgGvd79FiRotZU4NvecRjW17wj4n4xC4bjLcTB eITKZWdTrtphPCmiSVdV0r1CNyEXz5eRaDvabz8cQwYlN6yjRwL+oCHV9bAwV26s IrvUkihTeOQN4EV4HAfAQLbqj0pvUgsfg9ZojwEwB3P+XKUyESTiPjvOCIZ4M9Dp wnzqba7Y4c6Z0qb7VWQxNHi3beTbdUwCk2JB7aELlEYdoJGCia4sgmc6v6+2+Eob LKgGLsOBpcZ1Q8n37RZ+E96vYoCAu3jcniMfFm8WgkgW2MDcLsM= =wlnp -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt-- --===============1978119970331764670== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees --===============1978119970331764670==--