From patchwork Sun May 18 20:42:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 4198731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C428EBEEAB for ; Sun, 18 May 2014 20:47:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EEDD120221 for ; Sun, 18 May 2014 20:47:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48AE620103 for ; Sun, 18 May 2014 20:47:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wm7xC-0006Oi-KY; Sun, 18 May 2014 20:45:06 +0000 Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wm7xA-0005KH-GM for linux-arm-kernel@lists.infradead.org; Sun, 18 May 2014 20:45:05 +0000 Received: by mail-ee0-f52.google.com with SMTP id e53so3011896eek.39 for ; Sun, 18 May 2014 13:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=uBvXC7TdZtzc6vPydwoF3rZEcvzMuceST/1psdN8phk=; b=hru4kDKNaTlM+aiaGFbi1MyFhB2g3Te5UVtRXyocPtgGkXPmfkJuq/yMV9xZYJbV8E 2YzIzXvz4BDltOGxOebpvmGAgiJDNiDz6PVhws+HCUQuGLdf/4huEo10nOoyPRhbPxIL AyzPw0+itrQP1/2sUHZb1APSD8DQLBL44hMI3hqgMgYSluzKhxU1lo4yVeIuOX7dsQci WBzyh0a8mrLTx6hrwga2uRG+6E6m95sm64GXjrswgdsXlrCVkLPMDHXUPy1P2hmtIqFA 8c63iFZkqgm/+TgdvHzfNYatkSC1mO+WH+BrpVI83tKW2wT0+ah8klwkOmaPxc4I5euN G+/Q== X-Received: by 10.14.98.131 with SMTP id v3mr5017901eef.77.1400445880525; Sun, 18 May 2014 13:44:40 -0700 (PDT) Received: from localhost.localdomain ([80.249.95.37]) by mx.google.com with ESMTPSA id z48sm36898301eel.27.2014.05.18.13.44.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 May 2014 13:44:39 -0700 (PDT) From: Vasily Khoruzhick To: Vinod Koul , Dan Williams , dmaengine@vger.kernel.org, Heiko Stuebner , linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dmaengine: s3c24xx-dma: Process whole SG chain Date: Sun, 18 May 2014 23:42:58 +0300 Message-Id: <1400445779-17365-1-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 1.9.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140518_134504_743910_DFC78045 X-CRM114-Status: GOOD ( 10.21 ) X-Spam-Score: -0.1 (/) Cc: Vasily Khoruzhick X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Due to redundant 'break' in a loop the driver processed only the first chunk. Signed-off-by: Vasily Khoruzhick Reviewed-by: Heiko Stuebner --- drivers/dma/s3c24xx-dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 4eddedb..2167608 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers/dma/s3c24xx-dma.c @@ -961,7 +961,6 @@ static struct dma_async_tx_descriptor *s3c24xx_dma_prep_slave_sg( dsg->src_addr = slave_addr; dsg->dst_addr = sg_dma_address(sg); } - break; } return vchan_tx_prep(&s3cchan->vc, &txd->vd, flags);