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: 4212731 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 C3F9ABEEAB for ; Tue, 20 May 2014 20:24:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0FB3020353 for ; Tue, 20 May 2014 20:24:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E97120212 for ; Tue, 20 May 2014 20:24:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750726AbaETUYh (ORCPT ); Tue, 20 May 2014 16:24:37 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:64029 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750721AbaETUYg (ORCPT ); Tue, 20 May 2014 16:24:36 -0400 Received: by mail-ee0-f54.google.com with SMTP id b57so936826eek.13 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 Cc: Vasily Khoruzhick 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 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 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);