From nobody Wed Sep 17 08:58:13 2025 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 C78EFC4332F for ; Wed, 21 Dec 2022 13:27:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234512AbiLUN12 (ORCPT ); Wed, 21 Dec 2022 08:27:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234426AbiLUN0a (ORCPT ); Wed, 21 Dec 2022 08:26:30 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6BA0DA5 for ; Wed, 21 Dec 2022 05:26:09 -0800 (PST) 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 0A939CE180A for ; 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 Cc: Arnd Bergmann , Mark Brown , Jaroslav Kysela , Takashi Iwai , Brent Lu , "balamurugan.c" , Gongjun Song , Mac Chiang , David Lin , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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-so= f_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 Acked-by: Pierre-Louis Bossart --- 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. --=20 2.35.1