Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4506956rdh; Wed, 29 Nov 2023 03:32:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBShzvonfsKNRZmRamGBsjRRjcCHnwOCeGBWl1vOKwmf+YwPlaVhgokPVhfTopV1i6uvYr X-Received: by 2002:a05:6a20:1454:b0:18c:fc4:df13 with SMTP id a20-20020a056a20145400b0018c0fc4df13mr20484834pzi.27.1701257549088; Wed, 29 Nov 2023 03:32:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701257549; cv=none; d=google.com; s=arc-20160816; b=ReLcku/9iH0o61ruJ1yVLQTCdQq61glcPgMEm3UQ/ehX/wnel2jrp9NMK/zJ7aCg++ P8f+Tzou/JxUBX7xvUkB9endedT6rCQaOFtBpsGbv7RISQuzvv4oysItqvwbrE+iwzFf Fhcw6/gtMZj7ZfdIuxt9sGQCve4HlPuu16/kgOQ3rqH+W4AxCR0mrpe2rVIy5+mn/MjR dpIAPHBIRknwMOJ4jpY2Q7ijbb8Yx1ckHiLnqDFBCF9nkL70IargNBfwYCnLGwrjeBsH 3qDhHApMBvLVzKGcxWxeok5knkoheZFI+zqpeT80RKscGZOZjNbQcHGWQ3nZgPMJhC/m RFRw== 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=E0dxdBP/z4mwfLwatLfIHplJfc2KPRFvx3NGaA/1/FU=; fh=yojjy/qVhAWatWVi4/UF0y6VfsnJgZEQc929G26IkhU=; b=KmPJajNYvJW+cfX3/MvMFi2i+Vt4wy0hn0NivnZjPkW7/+FhCKWYeMyRLzOB6FmxGV /yf+FtcPid+fLrOsRD4+C+Goz8Z5r6rx7lgMx/SLEWqvr/myNkTy072asolEfURAlyTk rLAOJFwFZ+K5LeSUF5fTsqSBPaSmTPJrYwbTv8bCyQlw5HbJUwCpuODXsL1xxZ0lH/sb iVev7VAktCjHhItUAtaLzv5C/CbVmgJizD14WTC8tCmn8DHKocaQDstUpuRAMNcn192g 2sju9U1a7oDTiqJwedwAn1OF61oJLtxKtMNN0HPZx8KA5ZJqdydP5FeOi0b+fZ1BNYcs Ei7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g6onjRbp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c3-20020a630d03000000b005b8f0ca2e5asi14331739pgl.79.2023.11.29.03.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 03:32:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g6onjRbp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A6B3E806AA30; Wed, 29 Nov 2023 03:32:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232328AbjK2LcI (ORCPT + 99 others); Wed, 29 Nov 2023 06:32:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231561AbjK2LcH (ORCPT ); Wed, 29 Nov 2023 06:32:07 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 170D5B5 for ; Wed, 29 Nov 2023 03:32:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6CACC433C7; Wed, 29 Nov 2023 11:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701257533; bh=FoQpCy80/A7NqecYX8XoNLwYAiGxzFge1aoT7zCvJgk=; h=From:To:Cc:Subject:Date:From; b=g6onjRbp37be+UMRU4JvdY3eUKTCkvMRbNQdJISR5P0C0cHBFzvn45SqowYRO6O+W zt+Ut32KRpAA9xRfATcxZGQjXmoq2Lsx2rUL4iI6Eun4Qio3/42KHgeBNxFnSHt3w/ 6ckbFvzNL91Eg52WEdie6zUUlHkQhFuAtExVz7qVs41p4h0y8ZonUHbW/2aIw7kGyp eY5LcYo9Y5wfIP2A4yCpJxdzmhqrOziZInD6mmXjr4W7NW1kVDhP4PFHQoEe60KFiJ A/oJm1U3ygRPM8lKEBCisgKnn+LyUjMcOQjGihOxXcaRcP7S6I3idBNy08i8vpG55C sl6cXQOXhcCHg== From: Arnd Bergmann To: Liam Girdwood , Mark Brown Cc: Arnd Bergmann , Jaroslav Kysela , Takashi Iwai , Chancel Liu , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: fsl_rpmsg: update Kconfig dependencies Date: Wed, 29 Nov 2023 12:31:17 +0100 Message-Id: <20231129113204.2869356-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Wed, 29 Nov 2023 03:32:26 -0800 (PST) From: Arnd Bergmann SND_SOC_IMX_RPMSG gained a new dependency and gets selected by SND_SOC_FSL_RPMSG, which as a result needs to have the same dependency, or produce a build failure based on that: WARNING: unmet direct dependencies detected for SND_SOC_IMX_RPMSG Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=y] && SND_IMX_SOC [=y] && RPMSG [=y] && OF [=y] && I2C [=n] Selected by [y]: - SND_SOC_FSL_RPMSG [=y] && SOUND [=y] && SND [=y] && SND_SOC [=y] && COMMON_CLK [=y] && RPMSG [=y] && (SND_IMX_SOC [=y] || SND_IMX_SOC [=y]=n) && SND_IMX_SOC [=y]!=n x86_64-linux-ld: sound/soc/fsl/imx-rpmsg.o: in function `imx_rpmsg_late_probe': imx-rpmsg.c:(.text+0x11e): undefined reference to `i2c_find_device_by_fwnode' Fixes: f83d38def6b1 ("ASoC: imx-rpmsg: SND_SOC_IMX_RPMSG should depend on OF and I2C") Signed-off-by: Arnd Bergmann --- sound/soc/fsl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index acb518f7ae79..270726c134b3 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -121,6 +121,7 @@ config SND_SOC_FSL_UTILS config SND_SOC_FSL_RPMSG tristate "NXP Audio Base On RPMSG support" depends on COMMON_CLK + depends on OF && I2C depends on RPMSG depends on SND_IMX_SOC || SND_IMX_SOC = n select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n -- 2.39.2