Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp210461pxf; Wed, 31 Mar 2021 01:04:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoTqbQIQvKGeGZqQSRovBDJ1pTOv+iPSaw4yqbc4GtnVhmKaY0RDHyKYAXRzAoAwJH+InH X-Received: by 2002:a17:906:9243:: with SMTP id c3mr2272942ejx.388.1617177849281; Wed, 31 Mar 2021 01:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617177849; cv=none; d=google.com; s=arc-20160816; b=Ej8+emMW/yL2K6xt07FgraXynkCFN773UeGf1e9bsm4XccEg+/zRyuKfPPK4CmVWBc qzJBgvFuLv0RyPVFsYE9OdEKefTkLk+LZ2vgU7B8Zem7OFTkn542nk9dIucyRztrIBZy DrKGMOowY+Tq9P/cYjLACIZ1I/F6bbhAdzKx90ms9jUFTtnZp7eLCcAJ0/8OKUrj5yJp iJnp/RLVPme1Fu9wV2OqydhqnN5o7WpODC8UKHu/mlPuQMMHiO9SnZbm49uWh9KBq1Cy B4iwgeaUnH1wIe/8PLbyT1j7rOY2BWfznPuv2dfVGu52LUUAgnB3mZvh1UXT/t1tVOlH wVOw== 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; bh=lpl1ha1bhxtjArUH0kx9b0qOOYp4DOHS5k2BU9Vfc1I=; b=Zqj9NZv2sjMgCDcobDyR/zdMGrKig4NzZtgvWBMEk6bDk+aT5WOL0G0Lqz1IeLNGWb d1R1gSikUHQVXbwcVKZ/h3n9sjuB5Nj8+hjDUNqQVh7kA16j195fEMjbTh6D09ZO2IzY 5KJqD0OpOHa0iFDuDzmk/neI0wBTUCsPU66EDsH4EVUwjoXoLZzfuhfpq9Yk6UNTJ4XN GmbYfMORkIFDuYE+xdDB+YppBpzAzus3Q14Pp2KyoNlgWY+adLbRUjHiP/+QnX6BIHVW fY3ViKxfRgI0ct6asGjTEQb+twGLVSQpyYqNT5MCImUysJyJ2OGFzERPl9Xhl+tef1+O iO0g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lu7si977340ejb.27.2021.03.31.01.03.37; Wed, 31 Mar 2021 01:04:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234341AbhCaICh (ORCPT + 99 others); Wed, 31 Mar 2021 04:02:37 -0400 Received: from sauhun.de ([88.99.104.3]:33970 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234120AbhCaIBz (ORCPT ); Wed, 31 Mar 2021 04:01:55 -0400 Received: from localhost (i577BC086.versanet.de [87.123.192.134]) by pokefinder.org (Postfix) with ESMTPSA id 32F032C01E8; Wed, 31 Mar 2021 10:01:53 +0200 (CEST) Date: Wed, 31 Mar 2021 10:01:52 +0200 From: Wolfram Sang To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Laxman Dewangan , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] i2c: Make i2c_recover_bus() to return -EBUSY if bus recovery unimplemented Message-ID: <20210331080152.GH1025@ninjato> References: <20210329195530.1053-1-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EemXnrF2ob+xzFeB" Content-Disposition: inline In-Reply-To: <20210329195530.1053-1-digetx@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --EemXnrF2ob+xzFeB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 29, 2021 at 10:55:30PM +0300, Dmitry Osipenko wrote: > The i2c_recover_bus() returns -EOPNOTSUPP if bus recovery isn't wired up > by the bus driver, which the case for Tegra I2C driver for example. This > error code is then propagated to I2C client and might be confusing, thus > make i2c_recover_bus() to return -EBUSY instead. >=20 > Suggested-by: Wolfram Sang > Signed-off-by: Dmitry Osipenko Applied to for-next, thanks! --EemXnrF2ob+xzFeB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmBkLHAACgkQFA3kzBSg Kba3xhAAmsP5Oo1B/oB41uXANcZr+efoYffJan31arqosJxrfeH4jeoQqVjCo8uR Ik6lmb/4ojlLaZirKUtuxAxrRZrTODbeFQVVAAffJsWAud7W5bYcmqLUYsON0hQ/ SPMC2EpWizwBOfhsrzY/Dpthzf6VuWXguEEZpCsF1PHtZ8djyf1X+OtJT0s9Nwex GlgXDNqr7YDak/hlKt7UN2JX/UZ2SIdtw2nVrFTbxdBH6bip3k28RBJRfm4ivNB3 B4RiQ8bW/kqCWMvpy4aqx3V0iWnj3jWCNn38j6o6DYrLBgIXjjgN7BvcFbFYVXpQ jpdwzUaFYro85h8q0n4PZupXLsi5SPtx6GHOy6+6mnJY7J1bcQk2VrIlBjLJdEEN PTtqLe2P29r48KlA/7twdMChPXRsiqRGoAdm1pPcHJkYaENdn+/QHlznrCdFwLa+ tqtxMLRwmr3wUEHrR1ZyRQ78O4fn0WGdPKEqnuS63OhPAHzrqbjTsB4ExwG9cKhq +XPCNvg8Bt6COaTBac5AO7j/Txme8RZNT9NC53pos70xFf5dPbzyPcpb5ftMFn8x VhBmTwEjnFwTiZLgJUeMlTgwkNwhQp5nAj2l/+PXCCq/LkAZss236l2YaDfrKzoV NFi59IIh4D8pA0ZH2pFlTrLVYYh+CAfatK/Jz8x/swf4chpotDs= =hxrj -----END PGP SIGNATURE----- --EemXnrF2ob+xzFeB--