From patchwork Sun Sep 24 15:23:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 13397005 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D61DCE7A8A for ; Sun, 24 Sep 2023 15:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UqwErOnkTOVEgN3B5xCyx6fIg1+uxPszV9KQ9GD2eUY=; b=mNVrh/8LW7/4oZ VJEpG3vp+ovY6T3zwPQsIQafLZ/Jr1tj9oumB6SM4saAUBeC9NqohHRfmRzUbc21kPWhX0gJR9tFF oqnvjC1DIcGF6rJMg2/KTVji1mtlUPev2Ddm4K0KIRjIgpNOgPb1omsHVFot+EaDx5227/m8sEhgg GNQr3e3r1Qqw9t/NA04JyrXreYI5vygwFYU8OrXbo8nsrktC9LCxLailiqTJjuD+UQSKXUguQtzZ5 NdMohiJhTqC1u3GYVI+9prS+wwLMQSdX4ds5/cEvUa5G+Sq7TMCqWsk++HFjb/isBNm7s8mMiOFH5 z3/XkkU559dlQ/8wnovw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkQxp-00CPvI-1X; Sun, 24 Sep 2023 15:24:05 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkQxl-00CPus-2A for linux-arm-kernel@lists.infradead.org; Sun, 24 Sep 2023 15:24:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1695569018; x=1696173818; i=j.neuschaefer@gmx.net; bh=s5gWdQpVH21Xx+9InxWsz6K6mgquCNB9iZycdR6gpYU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Eret2MkaH3SBWABhFMXlk84417zAEaOVNeeYXH7F9Fq4dzf3Zp7BQcmi0SYYWW0bqA9bhw23g8i nuhApZhp+yByiQJyoTt1XbR7/LyoeYthVbo6/GbDgsZ8m/uTbNsyFcKpT9Rq5SY0QAUmIxhx9AWtR F9sdKrQL5QHhJkrN3J7S+fd7qd7dJ+K3b70VKkXH0x0Nck9uTtgh+3f/yjguDTYF/T2ak7CHfx4h/ B+mbJah0wqhkuwHsWASnmFi3w3bCmEzDaR0JExPMXBCZJwgEqD56Bnxv2JLZ81dAR0M3PoVlc/1SS zjJdx4erucZ6Q29OEEjbFzqNeTLif4D5RMqw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([89.0.47.152]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MDhlV-1qvBvB1Z6l-00Apx2; Sun, 24 Sep 2023 17:23:38 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: dmaengine@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Wei Xu , John Stultz , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Vinod Koul , linux-kernel@vger.kernel.org Subject: [PATCH] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA Date: Sun, 24 Sep 2023 17:23:32 +0200 Message-Id: <20230924152332.2254305-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:mO+5wHE0RmepwGCER4agAwL5sdZdkEmD7ddZjwOsYIJ3KcobDec wb3sIJdspptyosakZW9CkeABC3G/J1vWL9KND2I5KVKZ85sVDAnOGzC2hYA0ZkOtbNEg7DM f0D7YP9fOBJ7Gp9DpNYUECXz0eU1uNSR0keus4fg6t75lndIOM/ONygs49N0SehJOx0gdh7 wg12HGeE6B4xLjtsmhEMw== UI-OutboundReport: notjunk:1;M01:P0:nvmjNVhzPDU=;4OysFuZ81/aARekur98DArYf/2M 9eVX+uCJB5GJwtGCLsk078tv6WTI29wZzQVhWQURvgqxJ6AR0+kTR9WWEHBYLDXi7XwaEvgKK 7Ts1dPYdI8N9fi0B7cOdJvKRS0S2I9QuIBaxk6HbgK4EeiQg6pQk8ejO9V1jJHAYolQ9uuwER 6HXZnuhH3rFU5YyuAhtc+kFt+KcrMRRQiViOP6d4ZlgrhCtEi4uRas67nJuPWf99oOxk7G6AG 2u3RH4v6ILKIJlHwGXUyvyvhqaBferMW4klA0bzF5Ke9yf8OkhDss/uBrXUs2P1q2V38J6JPh OZrSi+ZW/TSUjKYpJIlI2y1BBrbwvXwyxpXpshZFAYXDCCQN4HhqTKLVd1Wgzj3pBObq2pM6v 8Ha59CKXBUDqhPHwvuVMOEelumkw4vVwN40CqUz16u0X2ZZ8Ld/pUuPwKhzarxH+p9fH+fiDo sJdQ9dgOVsYD8bLZWTh0ADlnUUx+0dbwUdZ1zpbnnXGt/Ry5jafOk3DxLva36iW5Qgw29Ko4l Z61KLwMJKiLJNYDNCVMWS4VR6W2OHDNBn6tXPSoQ6YYDlltj4Cu6hhgL7GhqMClLs+ijNAHjn rupPQtiYgQtqsfFXhDEjim1NjfxMqlqEsZc0I1JZQoU9cuoYUu+qSiPzhW0d51AKg2opqJzJa v7/VRAOHFkjQLrRB412ZF3KT3VMvb0nEDZnkR44Kh52h6UFujgYMaHp0H+bZHj+3VsROHYXbx x57W1O3b/In54de+iMygBNGwCBadRapXTrHDO6gMHf4DfHFjJ0qt4vgkNhntdgL1ljvfj6Q9g tjXPvJW3uhWe6HjiNotlgJq85mMgMuxpEYuErl0jQt+GIOFOsV5lSq4cdrFpO0p43abzFB+5x WDrAC7aw+0/uVdHSLcmrE1Na9wsyvy1O6omriZ/fSp1m6qJrbVEk6Jwx9aOcwYS1R2GZ7Mz3B ZSeMGfHveklIC1ITCJ+viDXfO9k= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230924_082402_287591_3D799B1D X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit e39a2329cfb09 ("Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms") expanded the "depends on" line of K3_DMA from "ARCH_HI3xxx" to "ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST". However, ARCH_HI3xxx implies ARCH_HISI, so it's unnecessary to list both. Instead, just list ARCH_HISI, which covers all HiSilicon platforms. Signed-off-by: Jonathan Neuschäfer --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.40.1 diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 4ccae1a3b8842..70ba506dabab5 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -362,7 +362,7 @@ config INTEL_IOATDMA config K3_DMA tristate "Hisilicon K3 DMA support" - depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST + depends on ARCH_HISI || COMPILE_TEST select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help