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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 AF49DC433E2 for ; Thu, 10 Sep 2020 12:29:34 +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 4D46420882 for ; Thu, 10 Sep 2020 12:29:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OrWrCtRd"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="y79UUdby" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D46420882 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com 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-Transfer-Encoding: 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-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6ldY2q1W2gCE71HYZAamUVi8uUF1ZvG9o14wPo8uvng=; b=OrWrCtRdxn1FAM1hAGvLJ3QTe 47wWY/oeoAVKndxWHNB/yx7WI1iKExZvxTNTXLKFu7VJ7mjAE58OISLAHWsTY6kRyELxTRG4kvgiI rfsXvbeeXS/GmTyPa+ljx604GrSQo3oJFq7rVUA1ifMkBpdqFAWkWhzk+im8giOoYvCBdWdaCD8mw KsKGGCcXE054Zm59Ug39bMMNKXMl+y2QQL8j9vU9Cna3Ymdfvna1UafoY7olPapjBP78X6ZRq99b+ g8OQEDZNKMaHYGnG1PZw6nHKNiUUBNWgNxRWU+MFn3qX5JDeaFVzDouECHriXHK52pmRczqD1UqBn tdsAcf9qA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGLgA-0003AQ-5Z; Thu, 10 Sep 2020 12:27:54 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kGLg6-00039j-FC for linux-arm-kernel@lists.infradead.org; Thu, 10 Sep 2020 12:27:52 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08ACLl4W029687; Thu, 10 Sep 2020 14:27:44 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=STMicroelectronics; bh=ozH/MrmZcNkm8zensiVKRNgv2DwWIwyb8qliXp9Emeo=; b=y79UUdbyDqeKo5Y6Oubk6v79C48n4YQMoXQsAjrNGWcRDbLMAbjA679tq6GSy+mlZ8LU DpbO5YIjE1CoRwhsT3q1hm2nM6pCD5PWB0pfMgaNBUq6EGwOc4L7wvhO2Jv8YBZFWVeA VGZgMJ8Ymojh7L6M2/FypYNuP0ZeT5rCJX2m2PCtG5yjkjjmnXJBtuakyLieNGZKfsjy Q3w68TL27IlgOHdIkwu2Rg8jQAjQH6zbTpnrhGP0KqGJ2DLPN3eqNZJ+bMi7CwQ/c0f/ /L7OvVtr7u14TlfHeD6f1YVDIc4LzalUx7btgxuNK3abLX1yWhDiY9ZVYoMJ8exS0cS3 Ug== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 33byt83qpa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Sep 2020 14:27:44 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CBD6F10002A; Thu, 10 Sep 2020 14:27:43 +0200 (CEST) Received: from Webmail-eu.st.com (gpxdag3node5.st.com [10.75.127.72]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B59E92A8B2F; Thu, 10 Sep 2020 14:27:43 +0200 (CEST) Received: from gnbcxd0016.gnb.st.com (10.75.127.44) by GPXDAG3NODE5.st.com (10.75.127.72) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 10 Sep 2020 14:27:43 +0200 Date: Thu, 10 Sep 2020 14:27:39 +0200 From: Alain Volmat To: Wolfram Sang Subject: Re: [PATCH] i2c: stm32: do not display error when DMA is not requested Message-ID: <20200910122739.GA5093@gnbcxd0016.gnb.st.com> Mail-Followup-To: Wolfram Sang , pierre-yves.mordret@st.com, alexandre.torgue@st.com, linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@st.com, Krzysztof Kozlowski , Holger Assmann References: <1599730349-2160-1-git-send-email-alain.volmat@st.com> <20200910100607.GJ1031@ninjato> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200910100607.GJ1031@ninjato> X-Disclaimer: ce message est personnel / this message is private X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To GPXDAG3NODE5.st.com (10.75.127.72) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-10_03:2020-09-10, 2020-09-10 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200910_082751_113327_636E6DD2 X-CRM114-Status: GOOD ( 22.71 ) 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: Holger Assmann , Krzysztof Kozlowski , 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 10, 2020 at 12:06:07PM +0200, Wolfram Sang wrote: > 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. > > > > Signed-off-by: Alain Volmat > > --- > > This patch should be applied on top of the patch [i2c: stm32: Simplify with 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. Indeed, that's a good point. I'll rework it then, to avoid the dependency on dev_err_probe change. If that is ok, I propose to push a two patches serie with both this fix (updated) followed by a rebased version of the dev_err_probe patch from Krzysztof for dev_err_probe change. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel