Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3528632pxb; Wed, 14 Apr 2021 07:33:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0h6yLuxlSd3pm5RxtEkp8Zbbs0Xunx3d+6tP8mQHyeiPRyE6v+FAN2kU3R4LuxWe/0DAj X-Received: by 2002:a17:907:3f20:: with SMTP id hq32mr30948773ejc.226.1618410802605; Wed, 14 Apr 2021 07:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618410802; cv=none; d=google.com; s=arc-20160816; b=o7SZZQzMrCth2zb+TWQ2PSCtkNnwFgZT0IhwHrrJFdYTkXfJ/PeDYrVJDXJOT2WTJZ /ay9atxFvMSbVtjCDsuPB9bIJZkHjnZJkItkGJLh9v9ZD1HkguCnxmRCDAT+v2ejKLPt uzI8tugXcWCZrl+TOG3QMs45TPJHz/ZHs6zQgMDvXFZTggGhHC45VEnWFqDoiwqr6Lnr zLMcSh/ikXlz/PYWypfjGhn3kPlpmtOf2P9aPVYug7aJiO393M99SvQO49KlReFEJZzi XYaVXcmBm534O2spon9kQcTlxroRrGAaaK+BXb2sCLRsIb7YqO2xydIOmCyol2lNfOTz m9FA== 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; bh=softkseoAUjSpfEYL5jTXDTAaQzfx1q8W/S1QvzexdU=; b=oS5nTkO+qanxPP1k+hFtBmeZ4ovlg3TkIP/d6yrCUnmOIvw6dbW3stxUuNTDQ/b2hj GA37yu/l5GsYI9MFHX9FM7yfmsJRZny+zEUL9nh7WFj0ZF1hbzGTmG34A3cJnZ1HT2Su V1re1OejkoWns8qIGNYLRhgkGePGvO97j4WJkJ3oSctWQ5mvmMwW2JlPdxvGfxdxSs3O z+sBY3UTmbQQ+osxVYLluxkpXkHSI6AjQ5drkuaTsV+43CoN6CIBJp0WKybRfhIK0tQG +2PGzKv+tNWu+o8oJqnKirsuT7qIg7hG8/ubHBJ0iIukLT84TRf6JpZYBV1b8PvPNy3g ZZ+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nAd0M7Gh; 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 26si12779435ejy.13.2021.04.14.07.32.58; Wed, 14 Apr 2021 07:33: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=@kernel.org header.s=k20201202 header.b=nAd0M7Gh; 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 S231996AbhDNHy1 (ORCPT + 99 others); Wed, 14 Apr 2021 03:54:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:37224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231773AbhDNHy0 (ORCPT ); Wed, 14 Apr 2021 03:54:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E8515601FE; Wed, 14 Apr 2021 07:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618386845; bh=softkseoAUjSpfEYL5jTXDTAaQzfx1q8W/S1QvzexdU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nAd0M7Ghe4MpoE/UYqEqLI4Yqu+L7uf0vZSf79kF9Xvi1dW/74tN6M4X48QilRwTs XOFsssOjSte8LARsOtr/OXc0PWTx4L2mhftu4t5rSwvjUQm+fztrOJK2wDgQZ7xoa1 aj2KNEQMCxQySGu/thro2BJtSioSIlmgQjtE6wPOU+d9z3ZYjlejzClrPz++Z0oq5r i3tTMusCcJSyDDiPxgA83aAqjibqaoHNz7C+D+QHe55hREAOiHYwlc0FWKuwbdc27I ekVByzbArRbTRo0JEG0ALnYICKISnB3Lq9FzA/Px+OgrEaIGwdGPkUlcxKNNAXMcmi V7iLOVwdEuBGQ== Date: Wed, 14 Apr 2021 09:54:02 +0200 From: Wolfram Sang To: Dinghao Liu Cc: kjlu@umn.edu, Tony Lindgren , Vignesh R , Aaro Koskinen , linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: omap: Fix rumtime PM imbalance on error Message-ID: <20210414075402.GB2180@ninjato> References: <20210407033030.13419-1-dinghao.liu@zju.edu.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: <20210407033030.13419-1-dinghao.liu@zju.edu.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 07, 2021 at 11:30:30AM +0800, Dinghao Liu wrote: > pm_runtime_get_sync() will increase the rumtime PM counter > even it returns an error. Thus a pairing decrement is needed > to prevent refcount leak. Fix this by replacing this API with > pm_runtime_resume_and_get(), which will not change the runtime > PM counter on error. >=20 > Signed-off-by: Dinghao Liu Thanks, yet I applied this series now: http://patchwork.ozlabs.org/project/linux-i2c/list/?series=3D217733&state= =3D* --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmB2n5oACgkQFA3kzBSg KbbBlw/+KCP1394QbnoxEQGcMIhDmtwcitwfT54WE700oJeB1WtGe3RzHA5VGVw2 IxgXsHdHkq5VNKi+xZvXBiddrxuogegsRQQpOcttdfWpUclOCDoxfSgWbFVN7p9+ VoNYezUGHnnwP0GIZyfaJLT0yNM4kotK3ye+sNVA/YqUXlXQe1dSemksXi5HtCGJ 90GoYm6VNUlgMXC/kDUZojFvkBV1FNQtt/lpvmNNCDcIrUSA5P74M1Y7QPc67/wy x8HoN2vlOC4yy3nConWQGDjQ4CuGgtEbqBnuomvyAEExkaYUIiuqyyDPm6duAabK p02JT/SKoe4pCPO3fd4OzpUsLbOiIUIVrZA43f2O05EGMEe5wYxtw7CFZY0iYLhf GDygfBF1IhGxWB6NXQawjuQ/Ot8mbQik6IYT4loBPLqeUiMjdnsmhUoLS+fhJzSk YlSQG73g7ukgs0H6j8k+a70+/GKkkuiiKf0u1h4aBb2wi4qJLmDPaoaXme4p2gDN VJZTTQgTwoWmWwVFWDr0KfBVOWfOkTUyebwtrIs0m2efjOrqrcEyA9pAb/IlwR/o X69dOX7d5ZXlB3YmDC79l2wcAFWJYKucEvPfB97Z6WX5uMfgAG5+ZNm/iAYo1rx6 nUMWBgP0A5TIfImCgW0rTrtRsR+qEfIs6CZl1EfSrS38VZwyVXA= =gj+A -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz--