Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1756737rwd; Fri, 9 Jun 2023 01:28:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7j4mio09rSLXTF4q5u2bwVYwmX5b2jCQEzaGAAItnCaXOXWCHGHxaCyCV/X2m/CpHVsNhG X-Received: by 2002:a67:f596:0:b0:43b:2f47:9393 with SMTP id i22-20020a67f596000000b0043b2f479393mr550190vso.3.1686299286561; Fri, 09 Jun 2023 01:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686299286; cv=none; d=google.com; s=arc-20160816; b=x8Iv/jE+aPJSprmH034a4kM9JW2BfMvIfmyen9RgnouJOnda6L0wtX9vSs85XA7ZxT 78SckACXBgGQYqgv0xfp3WJLf2m7BD8gdI3AvvlF/BzCbzDbO7fFdnxzMuf/JUQf+f/r NifeHbO+H+3DJDc9yYnl180lgBRehAV8Yhdx41H4NdS/H6IuSHtB8yeBEkCr77cbKYua iZLp51ZW823wzTCjol5xI+xtlYVH012pCT/grsHgKP2lmp4f9QYMeDN/0lpLrkNpEJVS a5b6BCCtcTEGQwq7u3v3shcZn1BINUFzUX+aO8NYXV9PTmxmG+z16GM1fxjuCCN49Dk/ k0mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xTZthyABqfsJIp2/g/QBAbmCaWyEr1NmIxCo1bqkf3w=; b=gUQQTWhP+6Fc0omX92l5RzbTBVB4tDyHdvFzU4XSjhk978t0zuGBYrpbH6uRH+PAh/ 4qKfKpz4T3+a8aMITJRtieT3cq+syFdM++kpIZs+yuUMIgd1r38mW1gziU7LVAiLMMux OLAHYNCHnfrFO2N9zzdrBogjf9YfPZCmil3JbQ+u43H5JkE/KSx80n9DiGfJ1aN2S/rA IdtivrjQ4LC0YjbR/YAXu6HYEQTkp2hVzjR0KfqFz7PYUb7avGqzDaOCRFxZGkUbnhB4 NV+8atQyVUeJvecoDOEHRbRIZzpw75oWBdc/n5LGtUHhw2OndhDCv3gnb4lfFTAwcfie OOQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lNmNHKx3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 23-20020a630017000000b0054299598800si2220881pga.535.2023.06.09.01.27.54; Fri, 09 Jun 2023 01:28:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=lNmNHKx3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240227AbjFIIRs (ORCPT + 99 others); Fri, 9 Jun 2023 04:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240168AbjFIIRg (ORCPT ); Fri, 9 Jun 2023 04:17:36 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47D1B35BD; Fri, 9 Jun 2023 01:17:01 -0700 (PDT) X-GND-Sasl: kory.maincent@bootlin.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1686298618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xTZthyABqfsJIp2/g/QBAbmCaWyEr1NmIxCo1bqkf3w=; b=lNmNHKx3hN3/of+rh7ppTvpGt+1KLaFbiH/zTDC0UEaCIYiIqC6vZOhIh+7rCw+Y3xpi6e dEWqHmiIg9vc9l0ZpAeGnNsxVfghdk/AwFpAsUJ0tdI2uTTr7cLLCjXTpki4xS8n0DyK4S ir8aWOOYlkGjD/iJNiZwPwO2u0ejZ9QpFoLVaXp227O30waeICI/ox/pFkBme1Tq0jh3Gf tEokEAi+cqqIe0MEDcxq8YeEWb2js/xpepKgcSsz2zAoNCegdCgLZIqOtBy50nyVtS7TcR 5EtN2CNtcG4qn3N67y89kHjM7W9SCineFBy+xHBDpd9wTDEPRe13HRvFuMUziw== X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com X-GND-Sasl: kory.maincent@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 0EACBC0009; Fri, 9 Jun 2023 08:16:57 +0000 (UTC) From: =?UTF-8?q?K=C3=B6ry=20Maincent?= To: Cai Huoqing , Manivannan Sadhasivam , Serge Semin , Vinod Koul , Gustavo Pimentel , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Petazzoni , Gustavo Pimentel , Herve Codina , Kory Maincent Subject: [PATCH 2/9] dmaengine: dw-edma: Typos fixes Date: Fri, 9 Jun 2023 10:16:47 +0200 Message-Id: <20230609081654.330857-3-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230609081654.330857-1-kory.maincent@bootlin.com> References: <20230609081654.330857-1-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kory Maincent Fix "HDMA_V0_REMOTEL_STOP_INT_EN" typo error. 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. Signed-off-by: Kory Maincent Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA") --- This patch is fixing a commit which is only in dmaengine tree and not merged mainline. --- drivers/dma/dw-edma/dw-hdma-v0-core.c | 2 +- drivers/dma/dw-edma/dw-hdma-v0-regs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/dw-edma/dw-hdma-v0-core.c b/drivers/dma/dw-edma/dw-hdma-v0-core.c index de87ce6b8585..da8663f45fdb 100644 --- a/drivers/dma/dw-edma/dw-hdma-v0-core.c +++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c @@ -231,7 +231,7 @@ static void dw_hdma_v0_core_start(struct dw_edma_chunk *chunk, bool first) /* Interrupt enable&unmask - done, abort */ tmp = 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); diff --git a/drivers/dma/dw-edma/dw-hdma-v0-regs.h b/drivers/dma/dw-edma/dw-hdma-v0-regs.h index a974abdf8aaf..eab5fd7177e5 100644 --- a/drivers/dma/dw-edma/dw-hdma-v0-regs.h +++ b/drivers/dma/dw-edma/dw-hdma-v0-regs.h @@ -15,7 +15,7 @@ #define HDMA_V0_LOCAL_ABORT_INT_EN BIT(6) #define HDMA_V0_REMOTE_ABORT_INT_EN BIT(5) #define HDMA_V0_LOCAL_STOP_INT_EN BIT(4) -#define HDMA_V0_REMOTEL_STOP_INT_EN BIT(3) +#define HDMA_V0_REMOTE_STOP_INT_EN BIT(3) #define HDMA_V0_ABORT_INT_MASK BIT(2) #define HDMA_V0_STOP_INT_MASK BIT(0) #define HDMA_V0_LINKLIST_EN BIT(0) -- 2.25.1