From mboxrd@z Thu Jan 1 00:00:00 1970 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E0D6FC433F5 for ; Wed, 30 Mar 2022 11:56:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2EC7818F2; Wed, 30 Mar 2022 13:55:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2EC7818F2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1648641380; bh=FeVBirWUDsSNdHRMTaN1D2cMhlAoxiuriyc5vJocNC0=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=CLWpbCXw62orDxoLzA/RbPyeTwn60BA/K5MK4Mjq6Pj6ZntqkrfAEcJ9fiuanvrXL iMAzhDlDhqsPWgbp36JLOR/nuhCAjEN2edfp7c2GzcUwdeCdSY+EVfvhAUAtsZW9UY R2xGtN4flvE8T+i5R+/LMVzPbyKaWgfnUV0+IIT8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 304A7F805E6; Wed, 30 Mar 2022 13:49:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1B7F3F805E7; Wed, 30 Mar 2022 13:49:15 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E56E5F8051A for ; Wed, 30 Mar 2022 13:49:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E56E5F8051A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lokuT5Nr" 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 dfw.source.kernel.org (Postfix) with ESMTPS id 9AB51615E7; Wed, 30 Mar 2022 11:49:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55AF6C34113; Wed, 30 Mar 2022 11:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648640945; bh=FeVBirWUDsSNdHRMTaN1D2cMhlAoxiuriyc5vJocNC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lokuT5NroYXJWdWxvIFiM76UQwyaVWs+Eya8ee2sLEZxT69/i6165aaFj9JOG76ax 73vKzvjQv6u02sX7663/mWhPVtzJzWk0oohz23caSHy1Bks6paTplDhcJFjHkU5dFB OuPWBFd7LPERX1kwzCcQy/YBLAFKvDYrIDXUQn5twlv96HC3jOiff0DGSUjNRC4pBz zXfrVQpLGZn+f3NjbGyuOFVdrcsxpISXNKWRiyfzcBhrSxbEzLv13bUPqC3z8an25G tIrIFpv6PMCtknMAKvnKjxBIqWMIKNa/som1WGItr0a6pVyJMi2pU7THm+7hDrBSjs V5RkoVC+x5jMw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.16 20/59] ASoC: madera: Add dependencies on MFD Date: Wed, 30 Mar 2022 07:47:52 -0400 Message-Id: <20220330114831.1670235-20-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220330114831.1670235-1-sashal@kernel.org> References: <20220330114831.1670235-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , alsa-devel@alsa-project.org, Charles Keepax , tiwai@suse.com, lgirdwood@gmail.com, Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Charles Keepax [ Upstream commit ec29170c724ca30305fc3a19ba2ee73ecac65509 ] The Madera CODECs use regmap_irq functions but nothing ensures that regmap_irq is built into the kernel. Add dependencies on the ASoC symbols for the relevant MFD component. There is no point in building the ASoC driver if the MFD doesn't support it and the MFD part contains the necessary dependencies to ensure everything is built into the kernel. Reported-by: Mark Brown Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220203115025.16464-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 3a610ba183ff..0d4e1fb9befc 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -707,6 +707,7 @@ config SND_SOC_CS4349 config SND_SOC_CS47L15 tristate + depends on MFD_CS47L15 config SND_SOC_CS47L24 tristate @@ -714,15 +715,19 @@ config SND_SOC_CS47L24 config SND_SOC_CS47L35 tristate + depends on MFD_CS47L35 config SND_SOC_CS47L85 tristate + depends on MFD_CS47L85 config SND_SOC_CS47L90 tristate + depends on MFD_CS47L90 config SND_SOC_CS47L92 tristate + depends on MFD_CS47L92 # Cirrus Logic Quad-Channel ADC config SND_SOC_CS53L30 -- 2.34.1