From patchwork Wed Dec 21 13:25:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 635974 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 0F291C4332F for ; Wed, 21 Dec 2022 13:27:06 +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 F38AB16D1; Wed, 21 Dec 2022 14:26:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F38AB16D1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1671629225; bh=SKxvyRAxZLLz49mMYkOzp5cmQy/yWm1CAHasLATF86s=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=q/cdifExQzXAHQGejhnXl7yOqAG0AInfa4L2YNqmHWO22HOsOlQN8Ynlh8gQ+XjQH wMojtj1/2MLZhpmTSZGEcfxnfrdjkgK0I5/VH/4L9M4+gcoGlcVk0JA3KOWiOAa+1z vQdFPKGNRsJ9jJPn3FHrioTF7PrDJOP0WcC4RNPY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A54B8F804B0; Wed, 21 Dec 2022 14:26:14 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 656E5F804B0; Wed, 21 Dec 2022 14:26:13 +0100 (CET) Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D7CA9F8024D for ; Wed, 21 Dec 2022 14:26:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D7CA9F8024D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=dykSHoOz 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 sin.source.kernel.org (Postfix) with ESMTPS id 07342CE17E1; Wed, 21 Dec 2022 13:26:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B2A5C433D2; Wed, 21 Dec 2022 13:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671629166; bh=SKxvyRAxZLLz49mMYkOzp5cmQy/yWm1CAHasLATF86s=; h=From:To:Cc:Subject:Date:From; b=dykSHoOzpzO8lQ4eqWbXZTVflHL7PH7rouMuSqZUmKW95f7m/oW01xDvF0USomzgq 0qjGnZRsotT8rTCs89IDBHYNdNVF+j3cbfihx946dF4p1z0IxxErK7WPbb7VKxIZH6 zpKaeUxUI83BtAMyWsZKxm2ht1Z+FuUsiTRFYxdNBFkP64F09M6CmM0WMnvRpIU7vM aXuWAw/XlDsgzddOc52njLdtyB7Dv2bGemj8Z1s03YbZC8LGEOUG6jSA2pf0wZFM1W CU0YvG3wwCVhR8ClwvzNvdIQbScKudAjCdD+ZbpWVsj4PPjD4eIrjU9PpRCG7a8N5u Es97Sdz1gh2bA== From: Arnd Bergmann To: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Kai Vehmanen Subject: [PATCH] ASoC: Intel: fix sof-nau8825 link failure Date: Wed, 21 Dec 2022 14:25:48 +0100 Message-Id: <20221221132559.2402341-1-arnd@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Takashi Iwai , "balamurugan.c" , Mac Chiang , Mark Brown , David Lin , Gongjun Song , Brent Lu Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Arnd Bergmann The snd-soc-sof_nau8825.ko module fails to link unless the sof_realtek_common support is also enabled: ERROR: modpost: "sof_rt1015p_codec_conf" [sound/soc/intel/boards/snd-soc-sof_nau8825.ko] undefined! ERROR: modpost: "sof_rt1015p_dai_link" [sound/soc/intel/boards/snd-soc-sof_nau8825.ko] undefined! Fixes: 8d0872f6239f ("ASoC: Intel: add sof-nau8825 machine driver") Signed-off-by: Arnd Bergmann --- sound/soc/intel/boards/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/intel/boards/Kconfig b/sound/soc/intel/boards/Kconfig index a472de1909f4..9aee729c2406 100644 --- a/sound/soc/intel/boards/Kconfig +++ b/sound/soc/intel/boards/Kconfig @@ -558,6 +558,7 @@ config SND_SOC_INTEL_SOF_NAU8825_MACH select SND_SOC_HDAC_HDMI select SND_SOC_INTEL_HDA_DSP_COMMON select SND_SOC_INTEL_SOF_MAXIM_COMMON + select SND_SOC_INTEL_SOF_REALTEK_COMMON help This adds support for ASoC machine driver for SOF platforms with nau8825 codec.