dmaengine: dw-edma: remove redundant config PCI dependency for some Synopsys DesignWare eDMA driver configs
Message ID | 20230111121637.24708-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3286075wrt; Wed, 11 Jan 2023 04:19:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXsbJGf78Sewrv0HTROLVHKo0iEvU+94druyVxtnzYZpiV+6yp1xsq3fXWU+sRSZYtR/UzPX X-Received: by 2002:a62:61c3:0:b0:581:2a6:f04c with SMTP id v186-20020a6261c3000000b0058102a6f04cmr1904898pfb.30.1673439595122; Wed, 11 Jan 2023 04:19:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673439595; cv=none; d=google.com; s=arc-20160816; b=AeEDFFIITRVvXE/wdQzXSPCvgkU0yiDKCo3alrH3Nn7lLQXo/9BZKmjLuGLZk744iK QZfwim3rhFqQEKLNdRTuVV82YzjJBaSH7Btr1emnb+AG8+2IndYEAwzIrwWIVJol+lr+ DyuS30Ry40pLNdyCUAKFQ+eYjeGsLMuKUV/pAOSDeNq9seVKMJLEBPhEIn5Y69bMSE/Q 9Cz39AVn3ZnPIyXWkh9LjI4INrY1JSjfDpLxc1Ug7mVMmzX26qzFdOZudYhf31a0iima Q9RNyx2k94dSou0pQHL6oUofin/SmP81L9Xp70Gz8/luEdAzF6rGUOc+HGQUWOJGrov6 xpDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=x08Spm0bFRozqdUSVPHwNKzOpA8X+ZTZMfsdSpNIew8=; b=kaE726oKBfS3PfUnuhhGDkKaphGJDJ/B50IVijRXW8tMWfIdBSaRXjdzE4q8SZjbus WgUqcMKHJioi3kPSsx5c1EI3DaP8RHmrozrhjAoUtNuwdDlO6/+KMbThQhWR96sGNc8U Aho/nZYZIFpRggPxA+edtfqmaRRT7Fzy/uwUrNH8rK+u+ArtqeI1HomPq6KJQW3ZDVFv p8fbWrwMYvhi+9jfncMaoyFwyO81ZybJBo4663+aHm+NUNh2hHssY6DmHQzuetSrg+UE lpLiNgm2ICb8h9EZvx1XITvOX9z7Wy+leFz/Fk2qHLH+BtcmLbIbVmuRbsPq1BIVDWOl cEeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gmzED7m2; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a056a001ac700b005818631179asi15563608pfv.95.2023.01.11.04.19.41; Wed, 11 Jan 2023 04:19:55 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=gmzED7m2; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235919AbjAKMQy (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Wed, 11 Jan 2023 07:16:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234269AbjAKMQv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Jan 2023 07:16:51 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49CE9C23; Wed, 11 Jan 2023 04:16:50 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id tz12so36345751ejc.9; Wed, 11 Jan 2023 04:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=x08Spm0bFRozqdUSVPHwNKzOpA8X+ZTZMfsdSpNIew8=; b=gmzED7m26SVu62/36L9vOG7cnDA1WZFYKNMJcZFjMtVD1a3+BT+eo1FqfL2AydigOA Khq6LZnEqFVPFw3mJIppspw8UURfTv/eQdSaX+CpW6f7vsK2ZkCaJBv3bx7XWgndFa+I 1Fubr71+EIuegTp5xHO/M3LoY7+nIy1heZGTAllQGbVxAWytV8Dfi9dNFmZPFdfQ28w/ 7C045XLBZFPTzdwH+q0jPIbSbklXAThKjAe9cP+QDvuXzHWpL/yXyUwUZ7fawV3imWMU LuLBdCv7rleGsnILFEHKI79bTovseiCOIX5ZjbdniodVE9Th9FWWPygmvffoOzlsyq9C uaOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x08Spm0bFRozqdUSVPHwNKzOpA8X+ZTZMfsdSpNIew8=; b=z8VkLXxGnla6Q1rCV8dk4UaxOh6d11iaHv03hXwzIr9aVnvt1YftWep3lLXVi0FQXY QvNL9EsyiBwKoJ404TRRbgdQa7Lr84F/6RQWD8zpHV2IRPFtVJebhZzPSr02PVArdWR/ b5Nk2ONoFJN6F+ZWNk9qmKxC7ZIPNiVnNPQRd19jTY0qmnCHLMTa3tHcTEFEH1oOfYu2 qqne0YoAoIfF9VxfoY3ngG40iUUvSt+/t7H0hy94fosNGkUT7MG/E9u/RgLnIcqpwvWh qtdoX4baXV7S1t5EtkF3Ap3SgW5Lv9P+xgs4uP5Hj1Q5MSZkdobod4FXmoE7qEDjCIBr kabw== X-Gm-Message-State: AFqh2kpGXZ7e77vpdwC+yCZu3wvT1feYUeUwRetie0VejqX736T2K1Ww rHOzIiNfVQ3HGHlMv/gtfNQ= X-Received: by 2002:a17:907:a508:b0:7c1:539b:d028 with SMTP id vr8-20020a170907a50800b007c1539bd028mr62112760ejc.48.1673439408769; Wed, 11 Jan 2023 04:16:48 -0800 (PST) Received: from felia.fritz.box ([2a02:810d:2a40:1104:a47e:7f3e:6b25:bafb]) by smtp.gmail.com with ESMTPSA id q1-20020a17090676c100b007c0d4d3a0c1sm6148208ejn.32.2023.01.11.04.16.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 04:16:48 -0800 (PST) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Gustavo Pimentel <gustavo.pimentel@synopsys.com>, Vinod Koul <vkoul@kernel.org>, dmaengine@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH] dmaengine: dw-edma: remove redundant config PCI dependency for some Synopsys DesignWare eDMA driver configs Date: Wed, 11 Jan 2023 13:16:37 +0100 Message-Id: <20230111121637.24708-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754728597249809353?= X-GMAIL-MSGID: =?utf-8?q?1754728597249809353?= |
Series |
dmaengine: dw-edma: remove redundant config PCI dependency for some Synopsys DesignWare eDMA driver configs
|
|
Commit Message
Lukas Bulwahn
Jan. 11, 2023, 12:16 p.m. UTC
While reviewing dependencies in some Kconfig files, I noticed the redundant
dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always,
since its introduction, been dependent on the config PCI. So, it is
sufficient to just depend on PCI_MSI, and know that the dependency on PCI
is implicitly implied.
Reduce the dependencies of configs DW_EDMA and DW_EDMA_PCIE.
No functional change and effective change of Kconfig dependendencies.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/dma/dw-edma/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Wed, Jan 11, 2023 at 01:16:37PM +0100, Lukas Bulwahn wrote: > While reviewing dependencies in some Kconfig files, I noticed the redundant > dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always, > since its introduction, been dependent on the config PCI. So, it is > sufficient to just depend on PCI_MSI, and know that the dependency on PCI > is implicitly implied. > > Reduce the dependencies of configs DW_EDMA and DW_EDMA_PCIE. > No functional change and effective change of Kconfig dependendencies. Indeed. Thanks. Reviewed-by: Serge Semin <fancer.lancer@gmail.com> -Serge(y) > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> > --- > drivers/dma/dw-edma/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/dma/dw-edma/Kconfig b/drivers/dma/dw-edma/Kconfig > index 7ff17b2db6a1..0408e515b2f3 100644 > --- a/drivers/dma/dw-edma/Kconfig > +++ b/drivers/dma/dw-edma/Kconfig > @@ -2,7 +2,7 @@ > > config DW_EDMA > tristate "Synopsys DesignWare eDMA controller driver" > - depends on PCI && PCI_MSI > + depends on PCI_MSI > select DMA_ENGINE > select DMA_VIRTUAL_CHANNELS > help > @@ -11,7 +11,7 @@ config DW_EDMA > > config DW_EDMA_PCIE > tristate "Synopsys DesignWare eDMA PCIe driver" > - depends on PCI && PCI_MSI > + depends on PCI_MSI > select DW_EDMA > help > Provides a glue-logic between the Synopsys DesignWare > -- > 2.17.1 >
On 11-01-23, 13:16, Lukas Bulwahn wrote: > While reviewing dependencies in some Kconfig files, I noticed the redundant > dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always, > since its introduction, been dependent on the config PCI. So, it is > sufficient to just depend on PCI_MSI, and know that the dependency on PCI > is implicitly implied. > > Reduce the dependencies of configs DW_EDMA and DW_EDMA_PCIE. > No functional change and effective change of Kconfig dependendencies. Applied, thanks
diff --git a/drivers/dma/dw-edma/Kconfig b/drivers/dma/dw-edma/Kconfig index 7ff17b2db6a1..0408e515b2f3 100644 --- a/drivers/dma/dw-edma/Kconfig +++ b/drivers/dma/dw-edma/Kconfig @@ -2,7 +2,7 @@ config DW_EDMA tristate "Synopsys DesignWare eDMA controller driver" - depends on PCI && PCI_MSI + depends on PCI_MSI select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help @@ -11,7 +11,7 @@ config DW_EDMA config DW_EDMA_PCIE tristate "Synopsys DesignWare eDMA PCIe driver" - depends on PCI && PCI_MSI + depends on PCI_MSI select DW_EDMA help Provides a glue-logic between the Synopsys DesignWare