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: 4198711 X-Patchwork-Delegate: vinod.koul@intel.com Return-Path: X-Original-To: patchwork-dmaengine@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 85B90BEEAB for ; Sun, 18 May 2014 20:44:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B811C20225 for ; Sun, 18 May 2014 20:44:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B18D720221 for ; Sun, 18 May 2014 20:44:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752167AbaERUom (ORCPT ); Sun, 18 May 2014 16:44:42 -0400 Received: from mail-ee0-f49.google.com ([74.125.83.49]:50612 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752025AbaERUom (ORCPT ); Sun, 18 May 2014 16:44:42 -0400 Received: by mail-ee0-f49.google.com with SMTP id e53so2992931eek.8 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 Cc: Vasily Khoruzhick 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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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);