From patchwork Mon May 19 17:05:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 4204631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EDE3F9F32A for ; Mon, 19 May 2014 17:10:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C75A20251 for ; Mon, 19 May 2014 17:10:38 +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 429BF2024F for ; Mon, 19 May 2014 17:10:37 +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 1WmR2g-0005KX-0j; Mon, 19 May 2014 17:08:02 +0000 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WmR2c-0005GU-30 for linux-arm-kernel@lists.infradead.org; Mon, 19 May 2014 17:07:59 +0000 Received: by mail-ee0-f41.google.com with SMTP id t10so3847748eei.0 for ; Mon, 19 May 2014 10:07:36 -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=3fghbjG/vNeuDCBS49QYuLzuRZov79r+d6MyWsreiaQ=; b=bqOjDIwYLEKQqlyq1GZ17KT6v05xY3HmHa7i6BAL0fHBtrVbwGRSs+L4kC79QzvkHq x/UWcaQeJkAJTqc+JZGKOxzfjiVowPKMFM6NrmgWNconE1+Zfm8lxh5VRPeoeUn7KkiT YdzUZ+EFYULWTrP9qih2nLxV4hn6CmYHzqr6mb0ZuUcOM4tikIUYbZLkszLXTN4ghJrb UMcsYKybN8oNoPUcsEGp1DrPP4HESDBGQwH83ICPB52m1O+7nmGuOKKUwyoCd8MNIbNV v4JLRz4T3sHvF2qNekMNwfWb0CB8tJ2EDzV3QinCPCZK//pm1hZsjqdRH6hBv2qO/mV8 DCqA== X-Received: by 10.14.213.6 with SMTP id z6mr5919231eeo.98.1400519256080; Mon, 19 May 2014 10:07:36 -0700 (PDT) Received: from localhost.localdomain ([80.249.95.37]) by mx.google.com with ESMTPSA id m44sm43208309eeh.14.2014.05.19.10.07.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 May 2014 10:07:34 -0700 (PDT) From: Vasily Khoruzhick To: Andy Shevchenko , Vinod Koul , Dan Williams , dmaengine@vger.kernel.org, Heiko Stuebner , arm-linux Subject: [PATCH v2 1/2] dmaengine: s3c24xx-dma: Process whole SG chain Date: Mon, 19 May 2014 20:05:57 +0300 Message-Id: <1400519158-5801-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-20140519_100758_280473_8D6FD0D5 X-CRM114-Status: GOOD ( 10.28 ) 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 --- v2: 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);