From patchwork Sat Jul 1 04:48:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 114948 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp10835462vqr; Fri, 30 Jun 2023 22:06:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlGGyb6V6Z1pCevBHn9cwJIEtW+ciz+/qRTlkWsq2rdQSoH52V6ChEwTdtw+2CLdF+0DEM4C X-Received: by 2002:a17:90a:19c5:b0:263:5ac0:ef2a with SMTP id 5-20020a17090a19c500b002635ac0ef2amr4126639pjj.34.1688187960838; Fri, 30 Jun 2023 22:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688187960; cv=none; d=google.com; s=arc-20160816; b=P9JoOX/nw581c2sf19IZCKPFfR09AzogIEmEPhAoydmIX5kb5o+F6D2af6Yw6lvzlC fQxeD8YgquFVHknBW2eLmD3HOAjrrG8TT4fzFgenHSw3RIvfB/qCE9KKdTD/fRdL6EaW MgjcciXUQ6IsYGhrkf+naQcu89CX2sJY0ZMs/hwev2GiWHFfYyWoB+1nq/AExVAZPWz2 shfWvrJKEz5dytIU+WYwjGurHMeAdUoLP3hi3+PFGSJdd5uJotJuQyr6y+zChXWKD5uq cxdguaXlVP1AZRQloIrAJoM1GzPTBp+CXEbM1qaCGmm0abMWrphdAoySQ7KXC6Pc/hbZ yiiA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Ouh+ENUfH7xDuVT7/QdgSLCq0AO5QpecmqQ9yR+vKU4=; fh=adBn3lDyHBpvb2dBOWrQc9ZAUYSOFBrJ+WjDyJwgr7M=; b=RwPYIEADAFsc+CtZDqDW8V48YnyKwLBo6HCdguhnLK8w3C4OjU5+XoRSQCqN9RT5/f CNTP9zvmf5QKyqGclOM4DK55O/oPm7d5zlDM6sbalVd9FZ45hXrBuhKRS07oj4YxOi2L qy88cyELUXRv8uUQ4562Yu5tLq2cEl10aLgYL9j6xuyFZO6mB6fb+WUvdbpWRsR9FMF6 5uryERTRtY2RWoQL/VL06qm+8ZeKRIqXp59jrm9kj2zUy51O4KetdL8JtoVO8Q/leePj ujrc4lKc+evrTqvMiJy39aUmu5oTTHrcSzcO+DMxFq0kWtBttEqWY1OUPGssX0uf+AJJ urQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=5BOjmmRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z61-20020a17090a6d4300b00262ba8af80dsi13964070pjj.78.2023.06.30.22.05.46; Fri, 30 Jun 2023 22:06:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=5BOjmmRR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229724AbjGAEsl (ORCPT + 99 others); Sat, 1 Jul 2023 00:48:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjGAEsj (ORCPT ); Sat, 1 Jul 2023 00:48:39 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50568E65 for ; Fri, 30 Jun 2023 21:48:39 -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=Ouh+ENUfH7xDuVT7/QdgSLCq0AO5QpecmqQ9yR+vKU4=; b=5BOjmmRRZbyzHZwHcUwvpKsx0g z3P5naFfEu/0m6BSaanaNGWs0IRuQQBjI2xz2BRVJivDYa54kRd6nAFudndfJ41KsYlzYS9bpBIEo Jk+yvhFndjxf5pUexRyWK76ivhXUKoNgb/YzvdBzUi6CDAsM/8j1WWDo8sV0SW89W1qcqumHH4KEa pxRzobws8/Oz2fNBIWWeuAzP9w3Jj7Y6w6Pmc/GcV1WuOWOBXkSu6Q+x7t2/1iODekyJTH4LQtfz9 rfAmqI+bgo2ITH9ai2jQ9nQadsFeDp8c0cwyq/9fGwl70hDCcIfEi6WY3q957fbrQ95rkuYjWj6N2 /PRYpzcg==; 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 1qFSXF-005AKU-1V; Sat, 01 Jul 2023 04:48:37 +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 v2] ASoC: stac9766: fix build errors with REGMAP_AC97 Date: Fri, 30 Jun 2023 21:48:36 -0700 Message-ID: <20230701044836.18789-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770193378875343505?= X-GMAIL-MSGID: =?utf-8?q?1770193378875343505?= 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 --- v2: rebase/resend 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 @@ -1707,6 +1707,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"