Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2229150pxb; Wed, 30 Mar 2022 20:02:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgJlJkIjxW5/Dj/0h8VE0mnBR1TreA0PCSP1EOMwBzEUakO71QCzyF/M7yNVMd59pWhuow X-Received: by 2002:a17:903:49:b0:155:f91b:235f with SMTP id l9-20020a170903004900b00155f91b235fmr2773818pla.147.1648695772131; Wed, 30 Mar 2022 20:02:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648695772; cv=none; d=google.com; s=arc-20160816; b=H6tKKco7pT1ThbbPCXyLrZyEmqFcRbaH/XIH6ZpUiZXdR2YhT32RbKHroRz9+8YTE7 pD/+2mE8MHmAWv7vewQkUSkx6YUPLHq+LIPUqegQKtOblU9VFLp6rQm1nc8njXKYUPGi 5ywoQVb2fvpQr4jQx25CI9xn1UxD5A+t0112W/bFPbPXl53zLpTDbZSZVQd8g/PNRAlO TDGwsv4lw+z/ZvKB5b2/eUProIIk2+mT59+V+u0kyjhPHEgvAaREz9t0NCBaXyzKMoBU HmG9jMGP9INKDjIGHQVxLliDftgN7dft9vyLrFuL2szTkiy6gK62dGXQU4dclFuPfcLW ftcA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KPOfX90yZ5SpFdyDPrZBNw0HHVCBF/RirFW9hivGrtg=; b=G3IidTEFILqqKOqyxLRl1iaqsrODOwHBcJosAyqD9sCqYAs97Som3kzp1ZBB87LxX0 aHwRRxGN2c9a7X9YKLJP152nmOX03C9bHnd0pUxPtKjZ12496GSZRUWPkYdkheswYxQX GEdXaXwvWUzt1luWzCPLQ9BtaLaBjhNS4Ed4cuh2iE4c8gTgMRB/R99dKfSssov6KpU8 0Hnxjjza8+Otk7AQ+y1sb3X/LV22/sLqcjfApQfmpgMhdOfof7M3Iy533QtjlgIuu/UD IA37eZzzgVCbC7DDRx0OwLqZtW0Br4KZaYxfRqNTLi460O5H+Aj9uYY0jpQ5LJvdLM8b bMCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lokuT5Nr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i13-20020a17090332cd00b00153b31b1d0bsi7349424plr.473.2022.03.30.20.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 20:02:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lokuT5Nr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20891E08; Wed, 30 Mar 2022 19:43:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345923AbiC3MIW (ORCPT + 99 others); Wed, 30 Mar 2022 08:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344483AbiC3LxM (ORCPT ); Wed, 30 Mar 2022 07:53:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2003326364A; Wed, 30 Mar 2022 04:49:06 -0700 (PDT) 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 E2E316162F; 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 Cc: Charles Keepax , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.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 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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