Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754023Ab1EEMCF (ORCPT ); Thu, 5 May 2011 08:02:05 -0400 Received: from eu1sys200aog107.obsmtp.com ([207.126.144.123]:59109 "EHLO eu1sys200aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625Ab1EEMBL (ORCPT ); Thu, 5 May 2011 08:01:11 -0400 From: Viresh Kumar To: , Cc: , , , , , , Viresh Kumar Subject: [PATCH V4 0/5] dmaengine/dw_dmac updates Date: Thu, 5 May 2011 17:30:28 +0530 Message-ID: X-Mailer: git-send-email 1.7.2.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1626 Lines: 43 This patchset fixes few issues and extends its support. Changes in V4: - spin_locks are not taken anymore from parent routines. Now every routine takes locks whenever required. - 1 and 0 are replaced with true and false for bool parameters to routines. - flags are not used uninitialized for spin_lock_irqsave Changes in V3: - lflags is removed from dw_dma_chan and local flag variables are created. - An extra argument is added to routines calling dwc_descriptor_complete() directly or indirectly - spin_lock() in tasklet is also changed to irqsave variants. Changes in V2: - lflags added in dw_dma_chan instead of dw_dma - Patch from Linus Walleij added for pause and resume functionality. Linus Walleij (1): dmaengine/dw_dmac: implement pause and resume in dwc_control Viresh Kumar (4): dmaengine/dw_dmac: don't call callback routine in case dmaengine_terminate_all() is called dmaengine/dw_dmac: set residue as total len in dwc_tx_status if status is !DMA_SUCCESS dmaengine/dw_dmac: Divide one sg to many desc, if sg len is greater than DWC_MAX_COUNT dmaengine/dw_dmac: Replace spin_lock* with irqsave variants and enable submission from callback drivers/dma/dw_dmac.c | 271 +++++++++++++++++++++++++++++--------------- drivers/dma/dw_dmac_regs.h | 1 + 2 files changed, 179 insertions(+), 93 deletions(-) -- 1.7.2.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/