From mboxrd@z Thu Jan 1 00:00:00 1970 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 0EF37C4332F for ; Wed, 21 Dec 2022 17:12:04 +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 091BA16D6; Wed, 21 Dec 2022 18:11:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 091BA16D6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1671642722; bh=Wka9nixoQhSQpZMewUy1mTEp3oCjGne3Bir7NjGErYw=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=fAMBELYxSAfmfezvceD7bGSzxaSZo+GfDMYDkVealNM7VsHQImLXBi7nISQFGHiBP kKyXdKGOKqJkSwBzzk/M7bcTk3kzYE5eqWRmGTXA/epbSH80fOMYfckCbThimC1vlY +KCevsjgnx519VGEoULNU8crC1uNaTdvCNfPyilo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 84518F8051D; Wed, 21 Dec 2022 18:10:44 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 02786F804CB; Wed, 21 Dec 2022 18:10:43 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1391DF804B0 for ; Wed, 21 Dec 2022 18:10:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1391DF804B0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Uw40SGWc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671642643; x=1703178643; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Wka9nixoQhSQpZMewUy1mTEp3oCjGne3Bir7NjGErYw=; b=Uw40SGWcTsNiRlXmmYAY/WX+QHZBRkzASC45yrUUTObBfXTM8xo/A2bL BOhvBmEVPce6qKbQyC8+sakTCgtUUi0+cJZA3TSAgahaRS7zfql4vTJwf 1K4ODQCK4XknTxScsBf0D6LE12A3JcZJ6beVGREdfpPjM3U+BkTg9UvEJ DrZan6eVcg3+/BXrfiA5fKPEde61llyisSsSpZR2E3Pnt7bFMjpLcyvfX 1diD3peBnnpRsasegpgZlr6YAadGvvAe08PMCX8Q4JprNz7C6/cQQF87x NGPS+8CkAFHATf9Awn8XccmWugPa40QkOqdXsZ3apxrEObNGZcdlxWV/0 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10568"; a="317562113" X-IronPort-AV: E=Sophos;i="5.96,263,1665471600"; d="scan'208";a="317562113" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 09:08:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10568"; a="720009149" X-IronPort-AV: E=Sophos;i="5.96,263,1665471600"; d="scan'208";a="720009149" Received: from sgeiser-mobl.amr.corp.intel.com (HELO [10.212.42.29]) ([10.212.42.29]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 09:08:39 -0800 Message-ID: <3917a0cf-20bb-2e7f-60a8-d7ec0069d8fa@linux.intel.com> Date: Wed, 21 Dec 2022 09:42:43 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH] ASoC: Intel: fix sof-nau8825 link failure Content-Language: en-US To: Arnd Bergmann , Cezary Rojewski , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Kai Vehmanen References: <20221221132559.2402341-1-arnd@kernel.org> From: Pierre-Louis Bossart In-Reply-To: <20221221132559.2402341-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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" On 12/21/22 07:25, Arnd Bergmann wrote: > 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 Thanks! 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. From mboxrd@z Thu Jan 1 00:00:00 1970 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 4B16BC4167B for ; Wed, 21 Dec 2022 17:10:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234697AbiLURKt (ORCPT ); Wed, 21 Dec 2022 12:10:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbiLURKj (ORCPT ); Wed, 21 Dec 2022 12:10:39 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F55C1B79B for ; Wed, 21 Dec 2022 09:10:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671642638; x=1703178638; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Wka9nixoQhSQpZMewUy1mTEp3oCjGne3Bir7NjGErYw=; b=JpQPnGs0Sr6sz57M9OkugNtHaJWy6aD/RQ2ROZ42AHLfcEiX+qIStraC PoR+Vir8AAjWH9/clTpzp4MzU1XOhUv6ie6hAEnEsRaZrt1bsQOsyGoJc OxC0VA3Rw4z1di0HKVxuthVMtCR8OabU02Li+q4GA3eV1BSQAxaDjOLVz xgJytBCQNvQekKtgriQPTs5a67Sj6jAI/mLpQsM92atT2lbEMiKOxINli n2BAzjU7Pu2tkyUs+R4LwTPm5R+/fEij0ZH+dkAwc2JQrAopdJv20lru1 i+DPxJQMC1rkSfdeNlu7AjOg/YxTYWT58mX7GhDuvqZMBJ7Tiv9R2TFXR Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10568"; a="317562111" X-IronPort-AV: E=Sophos;i="5.96,263,1665471600"; d="scan'208";a="317562111" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 09:08:41 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10568"; a="720009149" X-IronPort-AV: E=Sophos;i="5.96,263,1665471600"; d="scan'208";a="720009149" Received: from sgeiser-mobl.amr.corp.intel.com (HELO [10.212.42.29]) ([10.212.42.29]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 09:08:39 -0800 Message-ID: <3917a0cf-20bb-2e7f-60a8-d7ec0069d8fa@linux.intel.com> Date: Wed, 21 Dec 2022 09:42:43 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH] ASoC: Intel: fix sof-nau8825 link failure Content-Language: en-US To: Arnd Bergmann , Cezary Rojewski , 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 References: <20221221132559.2402341-1-arnd@kernel.org> From: Pierre-Louis Bossart In-Reply-To: <20221221132559.2402341-1-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/21/22 07:25, Arnd Bergmann wrote: > 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 Thanks! 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.