From nobody Sun Feb 8 07:26:51 2026 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 409C9C7EE29 for ; Fri, 9 Jun 2023 00:33:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237322AbjFIAd4 (ORCPT ); Thu, 8 Jun 2023 20:33:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237194AbjFIAdx (ORCPT ); Thu, 8 Jun 2023 20:33:53 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D586F30DD for ; Thu, 8 Jun 2023 17:33:46 -0700 (PDT) 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Select REGMAP_AC97 to fix these build errors: ERROR: modpost: "regmap_ac97_default_volatile" [sound/soc/codecs/snd-soc-st= ac9766.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 =20 config SND_SOC_STI_SAS tristate "codec Audio support for STI SAS codec"