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: 4204601 X-Patchwork-Delegate: vinod.koul@intel.com Return-Path: X-Original-To: patchwork-dmaengine@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 A62E69F32A for ; Mon, 19 May 2014 17:07:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1326201F7 for ; Mon, 19 May 2014 17:07:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C8BE201F2 for ; Mon, 19 May 2014 17:07:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753851AbaESRHh (ORCPT ); Mon, 19 May 2014 13:07:37 -0400 Received: from mail-ee0-f48.google.com ([74.125.83.48]:52732 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754533AbaESRHh (ORCPT ); Mon, 19 May 2014 13:07:37 -0400 Received: by mail-ee0-f48.google.com with SMTP id e49so3794225eek.7 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 Cc: Vasily Khoruzhick 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 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 --- 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);