Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1893113rda; Tue, 24 Oct 2023 06:38:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWq2SGlBiYWuE3YLCIJBZoXWY4rs5m8AiFBzpaxs1V9v79k4Ouh+htK90JS6Bvrk4lzulP X-Received: by 2002:a05:6a00:998:b0:6bd:2c0a:e7d with SMTP id u24-20020a056a00099800b006bd2c0a0e7dmr14635751pfg.19.1698154688134; Tue, 24 Oct 2023 06:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698154688; cv=none; d=google.com; s=arc-20160816; b=uJwu/xAaRZ8nkMW4cHCpWHyEQtUFHh0FHbQFYzGscF0DOc3/lNSyjvaJGezpZu1WNi pxgFsXXWZB5QsWKfnaRg4lQMZqxB/oOZlslThOrD6K4Pf2RapUqEVj1WJPIrJ4HxrS0H rM+gxqd+gq7otKpD+41Qf5mlJ+tqGjVgMNFt80CBI6EZKmcM0khbn6uN1H8RrgYwiyvT oxxQ4KIVWHujXV8KBmjbuIXPp3mJwDRgozvl2YUoFOf66vXMmXEGnZVpFJ8VgVtx70y6 U5GitcF3jrlZOi9HLUNZzGvMIVP/traybaZY5g1vE3npX+vlwcNUkoH+wuE+vejgx3ai WPIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=mZIc3ODqVfmRDC8OmnbKWJpKU+qowmrOocKwZsiY3KQ=; fh=paxIyJgIZfj6sy+v570W6k85rnsStVCuAgSdiVGJ/U4=; b=FFwAl+EfYH7UInmnQXv7pOFQa/YtP+vyJjDW8Nvs7/8us/zX2r7UmbCHRaqxlvHij0 1nY5VbSqqnQc/XKiSJFOEbwWgZU7nk5HUB+9+JYUgbrzokD0FqyZNFXk8KTkgRbE15Cq /QQBb4Fkq3AHWv+Sv4YBOsadqQ4F13HsAVgSEO5jM2dpxsTqA9AsdrdUX3CcxftLN+vl uAfPU/2Bk1GPJiAgWVy4EC45+UiT2jvoCYzQY4tW9GA4ihI6kqHY76OaVeaOI4XGmG75 GJGxsrUe3A6rwyTWH8hG93O8yIf1TFSafYfg6gGIh6yQbvC8DSnYmpLrpGJqvbzJLDXX Ll3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=N2SBD4tq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="n/lsjlFF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w2-20020a056a0014c200b006b18ecd03dasi8787939pfu.264.2023.10.24.06.38.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 06:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=N2SBD4tq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="n/lsjlFF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E176E802C7C5; Tue, 24 Oct 2023 06:38:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234761AbjJXNiA (ORCPT + 99 others); Tue, 24 Oct 2023 09:38:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234671AbjJXNhm (ORCPT ); Tue, 24 Oct 2023 09:37:42 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBC736A6A; Tue, 24 Oct 2023 06:27:52 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5F12E5C0216; Tue, 24 Oct 2023 09:27:52 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Tue, 24 Oct 2023 09:27:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1698154072; x=1698240472; bh=mZ Ic3ODqVfmRDC8OmnbKWJpKU+qowmrOocKwZsiY3KQ=; b=N2SBD4tqmXJ4l+91e6 AZFyVBxgNWMLBFtvzB30CRePi0TAgMxwUbAqeWtFIuhxhYz68kjMvDz+YyPSAwNW 7Ns+9zv87wrxdidXC0/b6vUXEF1RJz6Mi0CiF1NLC1VuIdHcZIlFU0V+3NmbAGh8 8zNg9sOFELaOeOZ0qQQ+Qy+S3st874WjXYH+9P3ekX98DJCertkx9m4XjlmPIofj +ARnWrQ6EdGgfjc+DEImDfc3FeCyFCIpPoJfU93eJNONADQG4+Z6NDz7Wem8N9D+ csI6WVtNQA1s5BwvtuKFvHSzis91VePf+Ca8DVlSR+FzaTjlDRkqMeLtK2Vo/s1l +Rww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698154072; x=1698240472; bh=mZIc3ODqVfmRD C8OmnbKWJpKU+qowmrOocKwZsiY3KQ=; b=n/lsjlFFRx6bOPjJKnOKg1uL6b/vM KHNj7gagIRbS3iVK+OtV5dx2bo1ooZYtuoPbXyo/jNExhql+vwytKUp3grQtVaDQ oblgJkQOFdptTjmuCTxrbdgx0X2QZVC3yPw74Lt938x/vgCKZnQ9+qlpnQsmq+nU j3tZ2j0Wg1WJgWxZybFlsheVnG1zf4rMQzFDYflwwQciMJS1LapCEln6oozabXRY QJdIz2Ob8muP+42zZTXtDAehcOzLc0FpMp0fN3FmftKwvtVlcHb5eK33N1rQhICA nRyg3Uikgmt7VnfmldrZK4ev3LGT/tjPB6/4fceAVIByc++cjXfwo2i9A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeekgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AEBEFB60089; Tue, 24 Oct 2023 09:27:51 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 MIME-Version: 1.0 Message-Id: <78427021-ddc0-45b6-a16b-bf8bc8f84003@app.fastmail.com> In-Reply-To: <20231023160539.1537355-2-arnd@kernel.org> References: <20231023160539.1537355-1-arnd@kernel.org> <20231023160539.1537355-2-arnd@kernel.org> Date: Tue, 24 Oct 2023 15:27:30 +0200 From: "Arnd Bergmann" To: "Arnd Bergmann" , "Martin Tuma" , "Mauro Carvalho Chehab" , "Hans Verkuil" , dmaengine@vger.kernel.org, "Lizhi Hou" , "Brian Xu" , "Raj Kumar Rampelli" , "Vinod Koul" Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] media: pci: mgb4: remove bogus 'select' statements Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 24 Oct 2023 06:38:07 -0700 (PDT) On Mon, Oct 23, 2023, at 18:05, Arnd Bergmann wrote: > From: Arnd Bergmann > > As this is just a regular device driver, it has no business force-enabling > other drivers in the system, it should be entirely independent of the > implementation of the spi-nor layer or the specific DMA engine. > > The IIO symbols that are selected here are library modules that > are legitimately used. > > Fixes: 0ab13674a9bd ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver") > Signed-off-by: Arnd Bergmann > --- > drivers/media/pci/mgb4/Kconfig | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/media/pci/mgb4/Kconfig b/drivers/media/pci/mgb4/Kconfig > index f2a05a1c8ffa..b90347c7f19b 100644 > --- a/drivers/media/pci/mgb4/Kconfig > +++ b/drivers/media/pci/mgb4/Kconfig > @@ -6,10 +6,6 @@ config VIDEO_MGB4 > select VIDEOBUF2_DMA_SG > select IIO_BUFFER > select IIO_TRIGGERED_BUFFER > - select I2C_XILINX > - select SPI_XILINX > - select MTD_SPI_NOR > - select XILINX_XDMA Apparently, the XDMA reference was in fact needed, as MGB4 calls some exported symbols from that particular dmaengine driver: aarch64-linux-ld: drivers/media/pci/mgb4/mgb4_core.o: in function `init_i2c': mgb4_core.c:(.text+0x3ec): undefined reference to `xdma_get_user_irq' aarch64-linux-ld: mgb4_core.c:(.text+0x404): undefined reference to `xdma_enable_user_irq' I couldn't easily figure out what a 'user_irq' is here, but I wonder if this is the expected way to use the DMA engine layer. Maybe this should have been a nested irqchip instead, or it should be encoded in the DMA request specifier? Arnd