Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6750913ybl; Wed, 15 Jan 2020 09:36:23 -0800 (PST) X-Google-Smtp-Source: APXvYqwDJw3kcEU7DAeo1le3eHn06XC7EC+8ll9Fhb03o2w1Tlviifevnh+SW0jJIelwsn86RYH+ X-Received: by 2002:a05:6830:158:: with SMTP id j24mr3578447otp.316.1579109782988; Wed, 15 Jan 2020 09:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579109782; cv=none; d=google.com; s=arc-20160816; b=hlL+HdDEPzc1ye7rEXqigQ0H7fhNE2S2LRyetfU13z/IyFs1z5TOEZTS1Hsp8lsk9p jdKFtibfwmDEtN6uWNTgPtb1YUenI16IZACSQAnHbyPAp4/n8esKWXxoqX9vr/5s4AcU UGY4pTxX2M3c5aiASyoEbKgt262t3ThniWSGKMCCZ2DsxPKy2iMU3+Hxoo2Uaj29upb2 b/ZdCrmr/S9+oW+mqvdcRfw6fSIDzV+fTznnMGCQjWLiCZYOhzS0o4RKwGQWYGLHoVka T0YJLS6YqhCeguKu/M0sdtkLk/R2wlXMmbVCRXyeYptXbbg+7VaaOsjn2eOkG56rPUQv ehmw== 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; bh=PmaygB058kcAtv0ZP5i1JspOJhmQETHzllK9Cq0YD+Y=; b=ThBhm0XgUzTsWIcUHeMUfSEs74qjifwLq767apk6iuOXRkMYyJtE7x6LZuVzjsum1M LSc4UI0ilTCll5/D9xHvZZDzo+onJPqVxGVjKKtfUU8x/tvbwraSv2R5E1qYqpKvfofl z1O96+E74ZcnbUfd/N8JZaBRYxo+pc8N2Ok0WiTj50ayKXGUJpy+qXfOQ2GAU4MrbjZV Dm/OfisEFQLeQer4Yggp7SDYhs0/M8aTpnAquqnrx7qwnDmyEHALgef53uJRZxgnQUdG I/QivZmNmP7XaXWfOavAuV1cGRPNcbQNEHpz6aMgt7txRSH5Zw6AC6Gv+J3pJxmSlT9p WTZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o8si11395715oti.47.2020.01.15.09.36.10; Wed, 15 Jan 2020 09:36:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729080AbgAOReF (ORCPT + 99 others); Wed, 15 Jan 2020 12:34:05 -0500 Received: from sauhun.de ([88.99.104.3]:38874 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbgAOReF (ORCPT ); Wed, 15 Jan 2020 12:34:05 -0500 Received: from localhost (p54B33239.dip0.t-ipconnect.de [84.179.50.57]) by pokefinder.org (Postfix) with ESMTPSA id 40E5E2C39C2; Wed, 15 Jan 2020 18:34:03 +0100 (CET) Date: Wed, 15 Jan 2020 18:34:02 +0100 From: Wolfram Sang To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Laxman Dewangan , Mikko Perttunen , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/8] i2c: tegra: Properly disable runtime PM on driver's probe error Message-ID: <20200115173402.GE1239@ninjato> References: <20200114013442.28448-1-digetx@gmail.com> <20200114013442.28448-3-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FEz7ebHBGB6b2e8X" Content-Disposition: inline In-Reply-To: <20200114013442.28448-3-digetx@gmail.com> 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 --FEz7ebHBGB6b2e8X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 14, 2020 at 04:34:36AM +0300, Dmitry Osipenko wrote: > One of the recent Tegra I2C commits made a change that resumes runtime PM > during driver's probe, but it missed to put the RPM in a case of error. > Note that it's not correct to use pm_runtime_status_suspended because it > breaks RPM refcounting. >=20 > Fixes: 8ebf15e9c869 ("i2c: tegra: Move suspend handling to NOIRQ phase") > Cc: # v5.4+ > Tested-by: Thierry Reding > Signed-off-by: Dmitry Osipenko Applied to for-current, thanks! --FEz7ebHBGB6b2e8X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl4fTQoACgkQFA3kzBSg KbbSbA/9EJCPHj4C82FpABEiFRRnAK8KEghBTuxYQU2uusd2t0/d0bueNdMMi/g9 LIbCweewEHesSopTrzftHyBLJh3rs5Q9P6DQ6Pk7fhxgAyARm6FmQVk58DYfI48u Nb22WLWOsyTatQoMHhEJyDDxxW9w2YzrPQiW/vu/XAFAcOmAJ+p0GohnWaJHMsSk ivAjhvR3AjMpu7lr4Pm3xnSSyozH/XhdWmg7cpVSJNuCGMj0TIg5omRiHpNHnnCh uDeVPC3IV8/u/JLH+MWX6feDUNaXAv3d8bceHUiLT3chsTDlzQIPeGEBtcUo5QDT uEQPn4O+oK4xPO7k1+fWo36EYsfWzW/B2DFWYXOmHGk41ho4gOJnopOoRy6MRRnL NtlDRYmA+d6OMmol7YVTgy5Nv2z6XyY9HpIJWjUQ1q+m6F1qaQH1dUjYM9lBTcX/ yi+0fCTi36Yhsf4bCNK069e3KzdJ/BruACOtILjyhxgbUMEh8RyGwZ9/LLRW1GpV 15+xHHS0RXaAuwW+4EaIVxT9G5j05F656b0QsVdVJqFVNGGuHrWX0VsXAT6Z2bGu Ckz7yHx3ULVu112OGgFwVG/xMuaF6YdYWM9z0i7Ty5135l7TCtHeiiXWlawqNJnu WR+y1mn67V+aJoGKjr9lESIpGvclLtNc+FStySTPn/rXGCoin3Q= =cN7R -----END PGP SIGNATURE----- --FEz7ebHBGB6b2e8X--