From patchwork Fri Jun 9 00:33:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 691205 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 75A54C7EE29 for ; Fri, 9 Jun 2023 00:35:28 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C0BEC1D9; Fri, 9 Jun 2023 02:34:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C0BEC1D9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1686270925; bh=y2qs56+NIzYXecsSNT6PSJJdJCchiBHgIme/dNJBV8g=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=fVP1IbLgtkqengvVwLlGGmuVUBZBO7nqQLsLStdV9XEVjS+B1GImLiT25PWOEqNoC JvF8khrY6vHKhH2eNO1d0hdh1wds/+sbP+Kx5oSFZx+vaVGs9Ct0z/HogIMslOoj9K 7c9Lg9Fo5tnxdfOhCnAWlPRGcNDhjqsTeng6aaQA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 26B94F80130; Fri, 9 Jun 2023 02:34:09 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 90E58F80199; Fri, 9 Jun 2023 02:34:08 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AC0CDF80199; Fri, 9 Jun 2023 02:34:02 +0200 (CEST) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4D097F80130 for ; Fri, 9 Jun 2023 02:33:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4D097F80130 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=L7UEcWRk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=0Rw1O/Ld7Wl3HwzBCOw+clBcV9DuHYc4t50MtUeaKb4=; b=L7UEcWRkUQU0Iuz85CRZtBfsQD 6bahg+uSfvIJu68F8seUMi6cIir/d4CriCLCB/DEFI5xIc2kTzhGd+0Pd+vw43PEx2DWir2sprMWs fecH4Fs8MsznzhcpzOFYoYSr0Fg52DD1rWJZXynLgbN0QNwq2WX+6TI+LgZkw5tzT+Vevh46lUD/l +/5fjyL2gqPQFL8qVCXwsJu1VT+w3YeoyHMZRc/2VY2JKaR3EBVZ7d9VYF0RlbfRf8EAhXOaQNRCI Ug4/qlnOY4MxAyAS4sdACqNrjYYL/E4MoCKy9tubJ3GJXhBbt51y583obo8X4SuFMHRjSz8SRwVAj ApOHY9Fw==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q7Q4X-00B4ww-2V; Fri, 09 Jun 2023 00:33:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Lars-Peter Clausen , Mark Brown , Liam Girdwood , alsa-devel@alsa-project.org Subject: [PATCH] ASoC: stac9766: fix build errors with REGMAP_AC97 Date: Thu, 8 Jun 2023 17:33:45 -0700 Message-Id: <20230609003345.15705-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Message-ID-Hash: JQGZ75AGZ6M7DILG5FIAK3ANAEW7EAIH X-Message-ID-Hash: JQGZ75AGZ6M7DILG5FIAK3ANAEW7EAIH X-MailFrom: rdunlap@infradead.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Select REGMAP_AC97 to fix these build errors: ERROR: modpost: "regmap_ac97_default_volatile" [sound/soc/codecs/snd-soc-stac9766.ko] undefined! ERROR: modpost: "__regmap_init_ac97" [sound/soc/codecs/snd-soc-stac9766.ko] undefined! Fixes: 6bbf787bb70c ("ASoC: stac9766: Convert to regmap") Signed-off-by: Randy Dunlap Cc: Lars-Peter Clausen Cc: Mark Brown Cc: Liam Girdwood Cc: alsa-devel@alsa-project.org --- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1693,6 +1693,7 @@ config SND_SOC_STA529 config SND_SOC_STAC9766 tristate depends on SND_SOC_AC97_BUS + select REGMAP_AC97 config SND_SOC_STI_SAS tristate "codec Audio support for STI SAS codec"