Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1382174rdb; Mon, 2 Oct 2023 08:00:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7p6bAsVV6CPSOnmA/q+g7Y251pTUaCOME/us0O8ydmq0UZ0eRl2iDc3hkdRqHUUecXk9H X-Received: by 2002:a05:6a20:d430:b0:163:2dc7:d077 with SMTP id il48-20020a056a20d43000b001632dc7d077mr6011015pzb.55.1696258815861; Mon, 02 Oct 2023 08:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696258815; cv=none; d=google.com; s=arc-20160816; b=uTxV3b2+8/3dD3Acz+mNpIxQrM3n9S1jR9HX4u2vhUUqEEcSNK0HfWdYsOlnWrB3WP D3vUB1MvtgoZg+IZCjdOsilgcIRyYs6pRVKlhY1cFWPOy8IOmmmrEA44x+2wCvGKpbty aFUbKmqIzXEHBDZzgatjD6f038gnuK/yHDVm9QCPkFW/Hmm4xbXPhILveV72mspH/FBL IvTn07Xma61Mxx93XqJhPpm9WSKyOStYRMb8KJGPZJrz3ctQChmk+mmhpnf1tslns3z7 fjYUhp8rlC+xO+HdFwCvyevEVg405vQ4bu9m7cSJ1inD+RyvrO4M9+JqVy9K54i0x0Aa Y8Tg== 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=mT/V21ZgEQ0E9DJBdo+wgQkk1YrIlUvlQ+wEJQpFcC8=; fh=3Wij1Nyq0kk9iFJBGjsMqOGfirL0oXoeYA+XKMkEeWg=; b=f5Wib+fqUYcWALWlgRr3ZR9W4DgGC/Er81Ffn8ZMceeyS5QfI/C+T/tyU74Dixkk7Q YWoI2wi1hg8b8a13aIDpgoR7y/L/oBptOkvtGz+bqO33mZ48OSMIVOusQZ+sLlCsmw2r N/SzjDYWGgB3PpzlOls0KcRWmmcreyQ0kuFvlObuSW+EGUb8br0ZSnc7T4tjy1uppFaB 6q1YRbMMLMMBM0P8Su9Eqz7CyeKyKRoDap1HwofSF/tnyLa+kKaiNJMyHOIFuQsU0jzh vBtmRysL8zw3eBLsiwtdZyT/fCUI6SHQ14KAA5nQos9XtPYI3GPVMqxqlOn6Sy3depFl tOSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GQZlUx+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id i67-20020a639d46000000b00564929df8besi13108180pgd.568.2023.10.02.08.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 08:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GQZlUx+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 12BDC80964C0; Mon, 2 Oct 2023 06:18:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237398AbjJBNSJ (ORCPT + 99 others); Mon, 2 Oct 2023 09:18:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237363AbjJBNR6 (ORCPT ); Mon, 2 Oct 2023 09:17:58 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CC57E1; Mon, 2 Oct 2023 06:17:55 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id C39881BF20E; Mon, 2 Oct 2023 13:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1696252673; 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=mT/V21ZgEQ0E9DJBdo+wgQkk1YrIlUvlQ+wEJQpFcC8=; b=GQZlUx+5x7r/Gm2ThnYJtTloUB95jgjiw7izD7/slii+8QOyFTno7WCP+if7lw4QqssEX3 S1P7BAq0H1s+G+KE2j4GgdSDjP4w+ygjEHZBaf/HYkQqMTjOFVG2owVAlO0+uwKfQn46M+ wGIf9IJk2ShuWo6kQUrzYI2M5cOfmnL8LGKNd0e53D8x2/yM9Z/llDde/Y8wVpekUOSIsn izuAuPMA15qrH+g2Ea81dt2+TSqHpFN431kHsrg07s7wHM+lJZ0acSVH7hzXZ+xbks3xUA CDSfA9mqFUNBw6GQHVi/s6x4mZjjxC2xL4rNI/j35ZlniHSUg8FlFY479Q8QvA== 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 v2 2/5] dmaengine: dw-edma: Typos fixes Date: Mon, 2 Oct 2023 15:17:46 +0200 Message-Id: <20231002131749.2977952-3-kory.maincent@bootlin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231002131749.2977952-1-kory.maincent@bootlin.com> References: <20231002131749.2977952-1-kory.maincent@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 06:18:23 -0700 (PDT) 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. Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA") Signed-off-by: Kory Maincent Reviewed-by: Serge Semin --- 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 3e78d4fd3955..0afafc683a9e 100644 --- a/drivers/dma/dw-edma/dw-hdma-v0-core.c +++ b/drivers/dma/dw-edma/dw-hdma-v0-core.c @@ -235,7 +235,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