From nobody Thu Dec 18 14:46:05 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 262FDC4167B for ; Wed, 29 Nov 2023 11:32:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232798AbjK2LcJ (ORCPT ); Wed, 29 Nov 2023 06:32:09 -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: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 fai= lure based on that: WARNING: unmet direct dependencies detected for SND_SOC_IMX_RPMSG Depends on [n]: SOUND [=3Dy] && SND [=3Dy] && SND_SOC [=3Dy] && SND_IMX_S= OC [=3Dy] && RPMSG [=3Dy] && OF [=3Dy] && I2C [=3Dn] Selected by [y]: - SND_SOC_FSL_RPMSG [=3Dy] && SOUND [=3Dy] && SND [=3Dy] && SND_SOC [=3Dy= ] && COMMON_CLK [=3Dy] && RPMSG [=3Dy] && (SND_IMX_SOC [=3Dy] || SND_IMX_SO= C [=3Dy]=3Dn) && SND_IMX_SOC [=3Dy]!=3Dn x86_64-linux-ld: sound/soc/fsl/imx-rpmsg.o: in function `imx_rpmsg_late_pro= be': imx-rpmsg.c:(.text+0x11e): undefined reference to `i2c_find_device_by_fwnod= e' Fixes: f83d38def6b1 ("ASoC: imx-rpmsg: SND_SOC_IMX_RPMSG should depend on O= F 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 =3D n select SND_SOC_IMX_RPMSG if SND_IMX_SOC !=3D n --=20 2.39.2