From patchwork Tue May 20 20:23:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 4212771 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 86ADFBEEAB for ; Tue, 20 May 2014 20:26:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BDF5920160 for ; Tue, 20 May 2014 20:26:55 +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 075EB2012B for ; Tue, 20 May 2014 20:26:55 +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 1Wmqaq-0001vZ-CZ; Tue, 20 May 2014 20:25:00 +0000 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wmqao-0001sB-0c for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 20:24:58 +0000 Received: by mail-ee0-f44.google.com with SMTP id c41so934635eek.31 for ; Tue, 20 May 2014 13:24:35 -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=PnVzUIi0X6QomQEe1XwbKwI3SePpK+zRkyX4sXQVm9w=; b=gam4ZbF7A/Kt0X625lCfyPVZ+s3WJL2dRxwD9czfywGXOIQwnblRxQoQ8Je2xtvExK d/TfSLyzTXa+/x0yemo0p35MJ2DaQp7cYY6MCAzVKUD47Zn604fvR/KW7jY+DnWjHnPo uamM//q3yQHXp6r6ypVoI99K0nqwZiNbtkKl29+gXbmjNGbwdawoUJA/Gn1h77LgdsB0 yhVNtgZhRX3oJpoZYb/OAoon3dkWvvM5+k4Fhf94KJjPHL0OyXc1Nw5nPPUz4iaR39Q2 8bty9mxaalpRDR1ql2Tv8Yhvjl3xxN0uac4bCpT6twnQu2EmefvEncz6IDASUQD15/mO qJMg== X-Received: by 10.15.76.67 with SMTP id m43mr7148512eey.65.1400617475454; Tue, 20 May 2014 13:24:35 -0700 (PDT) Received: from localhost.localdomain ([80.249.95.37]) by mx.google.com with ESMTPSA id h45sm6341335eev.20.2014.05.20.13.24.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 May 2014 13:24:34 -0700 (PDT) From: Vasily Khoruzhick To: Andy Shevchenko , Vinod Koul , Dan Williams , dmaengine@vger.kernel.org, Heiko Stuebner , arm-linux Subject: [PATCH v3 1/2] dmaengine: s3c24xx-dma: Process whole SG chain Date: Tue, 20 May 2014 23:23:01 +0300 Message-Id: <1400617382-7051-1-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 1.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140520_132458_208196_3EB6D268 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. 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 loop driver processed only first chunk. Signed-off-by: Vasily Khoruzhick Reviewed-by: Heiko Stuebner --- v2: No changes v3: No changes 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);