Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752279AbdHAUJ4 (ORCPT ); Tue, 1 Aug 2017 16:09:56 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34563 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752174AbdHAUJy (ORCPT ); Tue, 1 Aug 2017 16:09:54 -0400 From: Antonio Borneo To: dmaengine@vger.kernel.org, Vinod Koul , Dan Williams Cc: Antonio Borneo , linux-kernel@vger.kernel.org, John Stultz , Zhangfei Gao Subject: [PATCH v2 0/3] dmaengine: k3dma: Fix non-cyclic mode Date: Tue, 1 Aug 2017 22:09:24 +0200 Message-Id: <20170801200928.24661-1-borneo.antonio@gmail.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 752 Lines: 25 Commit 36387a2b1f62b5c087c5fe6f0f7b23b94f722ad7 ("k3dma: Fix memory handling in preparation for cyclic mode") broke the logic around ds_run/ds_done in case of non-cyclic DMA. This v2 splits the initial patch in three parts: - the real fix for non-cyclic mode - another fix for a double free introduced in the same commit - cosmetic removal of useless ON_WARN_ONCE() Thread in https://patchwork.kernel.org/patch/9833791/ v1 -> v2 - split the patch - change patch title to "dmaengine: ..." Antonio Borneo (3): dmaengine: k3dma: fix non-cyclic mode dmaengine: k3dma: fix double free of descriptor dmaengine: k3dma: remove useless ON_WARN_ONCE() drivers/dma/k3dma.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) -- 1.9.1