Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5334893ybi; Tue, 4 Jun 2019 05:13:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZU/bFNEAZnSrJ3xArIINV8RRCBOMztlgwBsL+LsgLRBWaV5do0DlKUwSmpZrssNb97+nk X-Received: by 2002:a62:1b0c:: with SMTP id b12mr36739473pfb.230.1559650398849; Tue, 04 Jun 2019 05:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559650398; cv=none; d=google.com; s=arc-20160816; b=e/0fQgjhoXQw/lX0ON3PA4pFJytK4d4CVWq5rx2fveY1yZcV86WZwmFjAHEIiZoFEt ooNd3G+LpZrchr60DMGh3EpadmLijd824jTDwJyj0uDzJOBWYEbcuGQJTZ4KhB/xd5ge 0WcEGa9RqJkovZNK+SsGkNAxRYy7mh83JyCIT70YHQ8Dqe0Vav9JxzUpLChQnimsCS4e wRmIPcp9vtF0U1EHwuFXHwdo9Ga0hkQ/GkXraDH5INY2hkqNyFdHXAz0L0Qs/nK2EBM3 3VT8DdTq6W2xPnmCmO/ZruY2j2gQhgzUOBU6+4plzVwMIprRh47GtGZ3BxgiEIP1Mkgr QZ2g== 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:dkim-signature; bh=3SlieTU62seJaoMdY5ZhJNhpLCHhR8xYcS/IODC6KQE=; b=AyyaCelCt1+3v77M9N3TrFIbeHgzUaaHxgRXUpiSMmikT25y5I7u1uwFdfhmvLk73I xd0BXBYclNaphxHrt49ifXGrrxOKKuRvMITlaaMqNFLCcbr5nKRrli+3247yjgqMiwUQ Vw0lBNu90qippblCVUvRO/n32pyf7MgeOmAhY5eSPVw41MkobVy9ggIkSIMRnagie3Hn EMTO+WVxeI5ywnT1BHF2FwlGapqpS9d8NWvoQtltQSZ0ocvNAqdxjB80egCT/JMHSraq T+Aq8olimzjD/9PRhsrlDBo3nmbs685Ut/9HlfYyU0ZyE4F9AYsqgOdMVSsF+aXub7DH nW1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=afx9V+aI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si22105503plh.153.2019.06.04.05.13.01; Tue, 04 Jun 2019 05:13:18 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=afx9V+aI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727692AbfFDMKm (ORCPT + 99 others); Tue, 4 Jun 2019 08:10:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:40368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfFDMKl (ORCPT ); Tue, 4 Jun 2019 08:10:41 -0400 Received: from localhost (unknown [117.99.94.117]) (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 328D124A02; Tue, 4 Jun 2019 12:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559650240; bh=bx10crper5s5AYw/kBlidhtOiBbuZXbSa+8Uxao2YZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=afx9V+aIVbqwBiSR3kTsnxskJZ0D90hjgaW18j81v/vZ4eO0q+t2nn+PZULSBPNY8 uG54BzSzpIvaKaQLY2ld2MzeMbjT4O+JwmcVfJW56c3YEZVkuvsczGGlkG+BwVFgKO 7YimuA7USP+Hp1SruKbCgzO8FFSIY0WZD+je0MrE= Date: Tue, 4 Jun 2019 17:37:33 +0530 From: Vinod Koul To: Peng Ma Cc: dan.j.williams@intel.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [V3 2/2] dmaengine: fsl-qdma: Add improvement Message-ID: <20190604120733.GV15118@vkoul-mobl> References: <20190522032103.13713-1-peng.ma@nxp.com> <20190522032103.13713-2-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190522032103.13713-2-peng.ma@nxp.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-05-19, 03:21, Peng Ma wrote: > When an error occurs we should clean the error register then to return The patch title is supposed to tell us about the change. "Add improvement: is a very generic term! I have change title to "Continue to clear register on error" and applied > > Signed-off-by: Peng Ma > --- > changed for V3: > - no changed. > > drivers/dma/fsl-qdma.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/drivers/dma/fsl-qdma.c b/drivers/dma/fsl-qdma.c > index da8fdf5..8e341c0 100644 > --- a/drivers/dma/fsl-qdma.c > +++ b/drivers/dma/fsl-qdma.c > @@ -703,10 +703,8 @@ static irqreturn_t fsl_qdma_error_handler(int irq, void *dev_id) > > intr = qdma_readl(fsl_qdma, status + FSL_QDMA_DEDR); > > - if (intr) { > + if (intr) > dev_err(fsl_qdma->dma_dev.dev, "DMA transaction error!\n"); > - return IRQ_NONE; > - } > > qdma_writel(fsl_qdma, FSL_QDMA_DEDR_CLEAR, status + FSL_QDMA_DEDR); > return IRQ_HANDLED; > -- > 1.7.1 -- ~Vinod