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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2D6DC433EF for ; Fri, 18 Feb 2022 11:05:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234288AbiBRLGO (ORCPT ); Fri, 18 Feb 2022 06:06:14 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:47290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232944AbiBRLGM (ORCPT ); Fri, 18 Feb 2022 06:06:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 270452944C3; Fri, 18 Feb 2022 03:05:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D9005B825D4; Fri, 18 Feb 2022 11:05:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2737C340EB; Fri, 18 Feb 2022 11:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645182353; bh=J59lH66krrvcoll/JdbSTQBtYjQWh/7nSG+XW1P3Unw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Tw5n0BFffkeKDKXKhP01gh3KO8XEAHxA3XInRcYgJYasJvhxI6fqYoakKs/+gC7Mh 6q1t5pjGBPIDeGxBl/W/Jr64oqrvxfdwZETsAqsVJh7oN2ayT1WzHzM7Ujhy6xvC3n 6vGmPRIh75+kAeYOHicH9KpLWQ03d+n+1Zfbl6PXS4gCkErbTtiRs+FGdBMlHEUlp2 65jyP8K4iSiGDNYQZPtgx65vlCzG6jV12yJIqvAnphMuThbjnwAO+18EeqoQmYsFqZ 2OJLukE/SOmkZTRsvxyzQC7tuOtLpYS3EHssWSQSopmhglSvy8rrMz2SrQutEyDuGL 9spWLWbuHzWXQ== Date: Fri, 18 Feb 2022 16:35:49 +0530 From: Vinod Koul To: Wolfram Sang , jorcrous@amazon.com, linux-arm-msm@vger.kernel.org, Akash Asthana , Andy Gross , Bjorn Andersson , Mukesh Savaliya , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: qcom-geni: Fix return value for master_xfer Message-ID: References: <20220209210356.2848-1-jorcrous@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-02-22, 10:44, Wolfram Sang wrote: > On Wed, Feb 09, 2022 at 09:03:56PM +0000, jorcrous@amazon.com wrote: > > From: Jordan Crouse > > > > The master_xfer function is supposed to return the number of messages that > > were processed. Both geni_i2c_gpi_xfer and geni_i2c_fifo_xfer are > > returning 0 which is being interpeted as a error in the upper layers. > > > > Fixes: 8133682618cb ("i2c: qcom-geni: Add support for GPI DMA") > > Signed-off-by: Jordan Crouse > > For the record, this patch is not upstream yet and needs to be folded > into the next version of the GPI DMA patch by Vinod. I have folder this into into my patch and will be posting updated one (this was also in Dmitry's review) Thanks -- ~Vinod