Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp642529pxb; Tue, 5 Apr 2022 17:03:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8tLIDy0DmfcPNS7QLxmJpHtlvpleNbZsHaGPQ7618W0ettSTUDq2Ftpq/DSz4Q2rBUkFw X-Received: by 2002:a17:902:e545:b0:154:4d5b:2006 with SMTP id n5-20020a170902e54500b001544d5b2006mr5977034plf.94.1649203383014; Tue, 05 Apr 2022 17:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649203383; cv=none; d=google.com; s=arc-20160816; b=cr4lMVHDF49les9/lH29us5qPs2PnMvZQ4rkCFMuH7RjC5aAFDFesVHL1vAGDHg8H4 9oRiv75wSSio01Sz5Efj1+hKFflGCzI/ryQU4PO43klO2/5IAWcbLSdzwpIU6Bm3+XND +Ay/wYG8btxS3Gw1VoLNjIsR3TybYBMPJRBmMda7utCd3QBWNEASpf2HtomF3Mrbr6Zx fw1Ixs9SFyZdGacUK0sppbYva5PffUaDWgwLDWBm++x6Z44gNHt2pqVEf4xbWVxGn9f1 1be4R8xxyhXPKlwW3350trITGtzqLM8jlqq0bCaoIKdIYqx34jUQDsVwEenyCNcnc++p tKKg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=KPOfX90yZ5SpFdyDPrZBNw0HHVCBF/RirFW9hivGrtg=; b=yQYEUBQG6MXxdGTjSEoS9C3APailZtRfi0WSEmwxMaLaD3McklOqxgR76ANLq2k7fy oQm0/XiUCPL7D62mhFgzb8StJDYQU5YA18NLp3RpYWPiCmalregWJE92my+VbRUuGHGS PVtpb5cd9OXq6HLroNeDYaHTDeBm2U3HpTbqMdkPQ/62Q3/+BLKI/qh3t31e3t6w8itR kDkuZb2f8UnGVXwA7Z0TygAHGcgzYAtEKXBovhNYETAwfIkFGbHgzZ7mWT0N/D1K9bso g+KXPh3GzNsuXxjZDLJecqGdwzQxWz+Px3VJ08TFFx+9ks+zvI4uQuIOQEP05MGnegbb bs9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=O5cJD3KG; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lr1-20020a17090b4b8100b001cab7e7bcccsi4003533pjb.44.2022.04.05.17.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 17:03:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=O5cJD3KG; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D002C29340F; Tue, 5 Apr 2022 16:48:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240895AbiDENXK (ORCPT + 99 others); Tue, 5 Apr 2022 09:23:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344999AbiDEJWH (ORCPT ); Tue, 5 Apr 2022 05:22:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4DBE45; Tue, 5 Apr 2022 02:08:58 -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 ams.source.kernel.org (Postfix) with ESMTPS id C7F6BB80DA1; Tue, 5 Apr 2022 09:08:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27140C385A0; Tue, 5 Apr 2022 09:08:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649149735; bh=FeVBirWUDsSNdHRMTaN1D2cMhlAoxiuriyc5vJocNC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O5cJD3KGXaOMmrLoVqBVS/FoqZAqQ9QPL05tKyMFQvXONqWR+aMlPG/Avwz3w1ySh YDZYNpFnCIkSEena8hZG+O3pautJlSWSD/HGKsnbn2qhGAwcYMIHYUVDu4nDfkjR7P C1ls6oHpA3IcjgoV8ZJEDiOn4UwlA1d1D7yBfY4A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Brown , Charles Keepax , Sasha Levin Subject: [PATCH 5.16 0822/1017] ASoC: madera: Add dependencies on MFD Date: Tue, 5 Apr 2022 09:28:55 +0200 Message-Id: <20220405070418.646923318@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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