Message ID | 20230130140156.3620863-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2193939wrn; Mon, 30 Jan 2023 06:03:19 -0800 (PST) X-Google-Smtp-Source: AK7set8tPSfTwqk43onBYHN9spmqMxYzjmbE6Bm1WMpfNMMDHbBVKBJM7t4TGcyxqaRO/ttim1gm X-Received: by 2002:a05:6a20:7da4:b0:bc:72ad:1437 with SMTP id v36-20020a056a207da400b000bc72ad1437mr10740351pzj.52.1675087399390; Mon, 30 Jan 2023 06:03:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675087399; cv=none; d=google.com; s=arc-20160816; b=n2v5lxlyJ0OZZR1kxmexOZ4lp4lrWjvfPsQiIVCQk+5trPkBH/kyR3EunhDJ3zM/X8 trW/7i8dE/twacQVLx1yxAtyjv7OxEjCJT1vXIYEvczb2709fVarYO2iG5geYWfpSHE2 XPjb8xlYlRAA1Vz5yLK/aU79RemOdkvnuFizc5jxMl/PS46OSFdZtCmd/RYcoiqyqZ39 YKxrwa0Ft2CWfKx1L6el6QwvvdAl4ACtElzbvu/e6i8Tei3G/PRi0ytkG8i97vcOMdcK nZMM+3/rJsH4rchW/bkdt84CM6zunvoenbsrPaQwDDiQ1j9fimTXUHNuD3vZq2jwBMqK 9EXg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=uqb57dEqbZz94IVXZM9EweLg3w1KJ6KEYvKGN0kqAXo=; b=Ze/joMRoOoh/BWcf7KI/TMUJvMkbHB2mQ28cSNzTNMx+ZrLfenLetfW07kCgLWIinu CtTC3KZweasTwc+BvcedC3orMQOn2MUKXB1WMjaA0WVoke9Jb6ddi3+8xJbpCcxGJ7GP ej6T7SXYXbLKGVFXlZqLyfYXK9XUX9HWbUtHhYGBxKBDMWPOsWVAF0LlrcztVuD9KaST DIgrYsg0hn0jgqo1TdUoUvx8KW+r1cfJbcDXMkt0s587pYtjyd1rLX4aNBlJiUXh/IJZ ztH2UWB5BWjBe3DsEoQT9Tk+NXVAypq3kXFyK/GlZcgYl9jIugxOAkiQ+lESnsB5I/f7 uonA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lXM+eeR1; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p27-20020a637f5b000000b004e511b122casi6663164pgn.616.2023.01.30.06.03.05; Mon, 30 Jan 2023 06:03:19 -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=@kernel.org header.s=k20201202 header.b=lXM+eeR1; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236937AbjA3OCn (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Mon, 30 Jan 2023 09:02:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237044AbjA3OCW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 09:02:22 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08AFA3B0E8; Mon, 30 Jan 2023 06:02:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B9BD8B8114D; Mon, 30 Jan 2023 14:02:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05641C433D2; Mon, 30 Jan 2023 14:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675087331; bh=6tA93H1Tk/wXbdlyFNn8xOAv7o+DOjEyIt6ZwZlTS/g=; h=From:To:Cc:Subject:Date:From; b=lXM+eeR1gUyS9lgFEhe3pbRMkHnGaXl11XPCNctbljg9skgaRfkrzsRc7d63qTi/2 gVyv3NFRhYpBvau3YnETqSd+TQgXh7KLRFPa9XpZJwHN0/P4GNLSUBZIHJ9CPhUzeJ 8IFsmqVJy8vKTHpTm2Hp4MVlRjvIKrMzdDwGhpHtIYmFboQBu/R0La2sqze/cjYDvA 6jeOCNHpvxf0bLoUDqyY2c4MA7cv+hNqZp2gQ76JBQVonNrwt4n4yqzIZIXKoWx7gh fVQo9DolPP7wzqJdskSSQ2KPD3UNrCma5U9gb2nK0+UpzjtKU0ls7bgxBsseFa9NQb kGP1MjJXa7YmA== From: Arnd Bergmann <arnd@kernel.org> To: Mark Brown <broonie@kernel.org>, Serge Semin <Sergey.Semin@baikalelectronics.ru>, Ramil Zaripov <Ramil.Zaripov@baikalelectronics.ru> Cc: Arnd Bergmann <arnd@arndb.de>, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [v2] spi: dw_bt1: fix MUX_MMIO dependencies Date: Mon, 30 Jan 2023 15:01:40 +0100 Message-Id: <20230130140156.3620863-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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?1756456444792451806?= X-GMAIL-MSGID: =?utf-8?q?1756456444792451806?= |
Series |
[v2] spi: dw_bt1: fix MUX_MMIO dependencies
|
|
Commit Message
Arnd Bergmann
Jan. 30, 2023, 2:01 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> Selecting a symbol with additional dependencies requires adding the same dependency here: WARNING: unmet direct dependencies detected for MUX_MMIO Depends on [n]: MULTIPLEXER [=y] && OF [=n] Selected by [y]: - SPI_DW_BT1 [=y] && SPI [=y] && SPI_MASTER [=y] && SPI_DESIGNWARE [=y] && (MIPS_BAIKAL_T1 || COMPILE_TEST [=y]) Drop the 'select' here to avoid the problem. Anyone using the dw-bt1 SPI driver should make sure they include the mux driver as well now. Fixes: 7218838109fe ("spi: dw-bt1: Fix undefined devm_mux_control_get symbol") Fixes: abf00907538e ("spi: dw: Add Baikal-T1 SPI Controller glue driver") Link: https://lore.kernel.org/all/20221218192523.c6vnfo26ua6xqf26@mobilestation/ Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/spi/Kconfig | 1 - 1 file changed, 1 deletion(-)
Comments
On Mon, Jan 30, 2023 at 03:01:40PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > Selecting a symbol with additional dependencies requires > adding the same dependency here: > > WARNING: unmet direct dependencies detected for MUX_MMIO > Depends on [n]: MULTIPLEXER [=y] && OF [=n] > Selected by [y]: > - SPI_DW_BT1 [=y] && SPI [=y] && SPI_MASTER [=y] && SPI_DESIGNWARE [=y] && (MIPS_BAIKAL_T1 || COMPILE_TEST [=y]) > > Drop the 'select' here to avoid the problem. Anyone using > the dw-bt1 SPI driver should make sure they include the > mux driver as well now. > > Fixes: 7218838109fe ("spi: dw-bt1: Fix undefined devm_mux_control_get symbol") > Fixes: abf00907538e ("spi: dw: Add Baikal-T1 SPI Controller glue driver") > Link: https://lore.kernel.org/all/20221218192523.c6vnfo26ua6xqf26@mobilestation/ > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Thanks! Reviewed-by: Serge Semin <fancer.lancer@gmail.com> -Serge(y) > --- > drivers/spi/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig > index 61fffc8eecc7..711c1c3bbd78 100644 > --- a/drivers/spi/Kconfig > +++ b/drivers/spi/Kconfig > @@ -295,7 +295,6 @@ config SPI_DW_BT1 > tristate "Baikal-T1 SPI driver for DW SPI core" > depends on MIPS_BAIKAL_T1 || COMPILE_TEST > select MULTIPLEXER > - select MUX_MMIO > help > Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI > controllers. Two of them are pretty much normal: with IRQ, DMA, > -- > 2.39.0 >
On Mon, 30 Jan 2023 15:01:40 +0100, Arnd Bergmann wrote: > Selecting a symbol with additional dependencies requires > adding the same dependency here: > > WARNING: unmet direct dependencies detected for MUX_MMIO > Depends on [n]: MULTIPLEXER [=y] && OF [=n] > Selected by [y]: > - SPI_DW_BT1 [=y] && SPI [=y] && SPI_MASTER [=y] && SPI_DESIGNWARE [=y] && (MIPS_BAIKAL_T1 || COMPILE_TEST [=y]) > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: dw_bt1: fix MUX_MMIO dependencies commit: d4bde04318c0d33705e9a77d4c7df72f262011e0 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 61fffc8eecc7..711c1c3bbd78 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -295,7 +295,6 @@ config SPI_DW_BT1 tristate "Baikal-T1 SPI driver for DW SPI core" depends on MIPS_BAIKAL_T1 || COMPILE_TEST select MULTIPLEXER - select MUX_MMIO help Baikal-T1 SoC is equipped with three DW APB SSI-based MMIO SPI controllers. Two of them are pretty much normal: with IRQ, DMA,