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=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 7D5B7C43461 for ; Thu, 10 Sep 2020 10:07:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 1055720BED for ; Thu, 10 Sep 2020 10:07:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eAw3GING"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="O5ac4xEr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1055720BED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GZ33hyroy5dTN3g8zyTCF/BgCfZaycitqXuTqlb0zVM=; b=eAw3GING3q7TzzNKVFPUErVHG 9aofXOASk6rkz3nCgRwBJbz8fmvV/E6SYTYOD/KZv/wh/VhMul9FOy+GRWYEhdbKI4kN7Gpy+XxSZ GiK00jcIdmVZbOsi2q9E434C3rMKw92OnrnDde0aa07dGRCtr0OA4vF89/z2/E+WBbwfoSOdymuM9 k0UmM3JPNLshu4w0QrjAmTfNI5LgJ3FjJVwkR7oa0NMZdl/rSecSi3FUliMe1+BqACUwNdoSkREUp TGDO0nZX//7ymVdFneqZTRZwbXeW9yZQglSU4ZQXQsFXSSDcC07TlhNWe56iaSBjJNSlGqxOqlQo/ NkpX102Yg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGJT5-0007BL-H9; Thu, 10 Sep 2020 10:06:15 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGJT2-0007AB-KU for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 10:06:13 +0000 Received: from localhost (p5486ceec.dip0.t-ipconnect.de [84.134.206.236]) (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 7CA7A20BED; Thu, 10 Sep 2020 10:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599732371; bh=eIs4Saiw+133hqlCLXwCeWfV39nXcWZNtgt8DRHyIgQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O5ac4xErBk7BTcwJSFCBWKSt06o5l2XIydsRh9gB18QV0Unf6Fy5rao/c+zFB59aU HHw1uK8iv7hTw6AieJEuHYXyC5GVoXhofvaRyjDjrIhcvmOh4U4eDZMWyWDgh9523y H5LenXnZSeQUzPHiDicb6bCjsn6qmzPbJCo+lLaI= Date: Thu, 10 Sep 2020 12:06:07 +0200 From: Wolfram Sang To: Alain Volmat Subject: Re: [PATCH] i2c: stm32: do not display error when DMA is not requested Message-ID: <20200910100607.GJ1031@ninjato> References: <1599730349-2160-1-git-send-email-alain.volmat@st.com> MIME-Version: 1.0 In-Reply-To: <1599730349-2160-1-git-send-email-alain.volmat@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_060612_766838_1F4F7925 X-CRM114-Status: GOOD ( 15.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.torgue@st.com, linux-kernel@vger.kernel.org, pierre-yves.mordret@st.com, linux-i2c@vger.kernel.org, fabrice.gasnier@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============1280353229583473418==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1280353229583473418== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T4IYkFBVPN84tP7K" Content-Disposition: inline --T4IYkFBVPN84tP7K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 10, 2020 at 11:32:29AM +0200, Alain Volmat wrote: > DMA usage is optional for the I2C driver. check for the -ENODEV > error in order to avoid displaying an error when no DMA > has been requested. >=20 > Signed-off-by: Alain Volmat > --- > This patch should be applied on top of the patch [i2c: stm32: Simplify wi= th dev_err_probe()] We can do it in this order, it just makes backporting to stable kernels (if that is desired) a bit harder than a self-contained patch. I am fine with both approaches, but just wanted to point it out. --T4IYkFBVPN84tP7K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl9Z+owACgkQFA3kzBSg KbbUKA/+KTSoRH7YFrNpcdKxwqC6ptIuUxtoiGHylyvgNwJHVhKqkZUgWRVHriJ1 aKzYvs+yRqbCavro4dsUyfcQuGUMiTtFd0y01cw7+HjPpJrkeTXwsn08Ongk1rJF vveoKMep7H1Zey1Da0LRcEUi/AcsJ+k3D81AZkwmrAOd3zR2/bKSNhGxYzxQZ9pd QvPI2LzcKy6wndnycDcMtOoXstFn4GKm936TsYYhKKZ9rnAQhttLzVGriJhRZUHb xRD35j7YMCa3jctQGFyIcF0aXDHvjM4dsPKNw3Zd/SxEd4rRb7Nfjm2G9qFHWbQq Z6lY/pcmi7vez8LNl6iYRoVWsmvHOWLCUijmZzgGNTDZ1Q1uuQUn5NxmSkBqI3Eo veZhypF9MPwVTalVcC7mJWRu6LgJxneLqIOfLqHHPk40iZewbFIMPzOclJhsC0Lz O9XC9s9BxXROggJmd47Y+yfAGhftXOMcwYuIDwvOBo4OYrRNIUvYJ0TESfSch9Ac MFcC/MINTsuRulclYQX++ITYNa+qg8qs7TAavl+h7rlFT5KuU71Ushm17gZqLTO3 M7nxKWohyFqpdoTCBt3VPHPVYSvGW9Zevd92crEZ2dqbTJYAhxC9oycTBuikSZPP extoO8W0+oZ8ThZDSgCU1fIr0zZvs4mNWWHGwgt76qvTOuRhnY4= =f0DT -----END PGP SIGNATURE----- --T4IYkFBVPN84tP7K-- --===============1280353229583473418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1280353229583473418==--