From nobody Tue Dec 30 16:57:53 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3C48C4167B for ; Tue, 14 Nov 2023 14:52:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233512AbjKNOwM (ORCPT ); Tue, 14 Nov 2023 09:52:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231697AbjKNOwJ (ORCPT ); Tue, 14 Nov 2023 09:52:09 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52189126; Tue, 14 Nov 2023 06:52:06 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id A3D59240003; Tue, 14 Nov 2023 14:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1699973525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9zfuTvre0UzAi4GpamYmN3E9uemUolgHrcnYVxe0/6o=; b=WYk2bi0RayS5KdrXFqbBs1ZUT9c5Dp0Ig/yyDAl+rGqTB0JGPqachk9W2nn3szazQliexh bJu4e+X7001Ndf3IAj2ulsFJoD+/h2Mr3OzLL8CNMtSVk8kx1VanZDTwjyPgIcoTKiQ46Q zddanlA29ytFqh6mN/fXTdq/iI1lfq2HfgLyDtO8MwREiWpc3C52OupHDWcrfrRqRySEk8 HJzevquDlmD3osMZ2ChzrpwPLbIRlR7YObCAFt8aOF3O55P1+sKkaHcNu4ANYei6B/jldt mzu6Q2h93Q3YOj6sAHbNj6hRRqHW9qrbqhyR8xXGFZcQuam3c3iudq7sQYKSmg== From: Kory Maincent Date: Tue, 14 Nov 2023 15:51:55 +0100 Subject: [PATCH v5 2/6] dmaengine: dw-edma: Fix wrong interrupt bit set MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20231114-b4-feature_hdma_mainline-v5-2-7bc86d83c6f7@bootlin.com> References: <20231114-b4-feature_hdma_mainline-v5-0-7bc86d83c6f7@bootlin.com> In-Reply-To: <20231114-b4-feature_hdma_mainline-v5-0-7bc86d83c6f7@bootlin.com> To: Manivannan Sadhasivam , Gustavo Pimentel , Serge Semin , Vinod Koul , Cai Huoqing Cc: Thomas Petazzoni , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Herve Codina , Kory Maincent X-Mailer: b4 0.12.4 X-GND-Sasl: kory.maincent@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix "HDMA_V0_LOCAL_STOP_INT_EN" to "HDMA_V0_LOCAL_ABORT_INT_EN" as the STOP bit is already set in the same line. Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA") Signed-off-by: Kory Maincent Reviewed-by: Serge Semin Reviewed-by: Manivannan Sadhasivam --- Changes in v3: - Split the patch in two to differ bug fix and simple harmless typo. --- drivers/dma/dw-edma/dw-hdma-v0-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dw-edma/dw-hdma-v0-core.c b/drivers/dma/dw-edma/dw= -hdma-v0-core.c index 1f4cb7db5475..108f9127aaaa 100644 --- a/drivers/dma/dw-edma/dw-hdma-v0-core.c +++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c @@ -236,7 +236,7 @@ static void dw_hdma_v0_core_start(struct dw_edma_chunk = *chunk, bool first) /* Interrupt enable&unmask - done, abort */ tmp =3D GET_CH_32(dw, chan->dir, chan->id, int_setup) | HDMA_V0_STOP_INT_MASK | HDMA_V0_ABORT_INT_MASK | - HDMA_V0_LOCAL_STOP_INT_EN | HDMA_V0_LOCAL_STOP_INT_EN; + HDMA_V0_LOCAL_STOP_INT_EN | HDMA_V0_LOCAL_ABORT_INT_EN; SET_CH_32(dw, chan->dir, chan->id, int_setup, tmp); /* Channel control */ SET_CH_32(dw, chan->dir, chan->id, control1, HDMA_V0_LINKLIST_EN); --=20 2.25.1