Message ID | 20240509163418.67746-11-pierre-louis.bossart@linux.intel.com |
---|---|
State | New |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 34C7BC25B10 for <alsa-devel@archiver.kernel.org>; Thu, 9 May 2024 16:37:08 +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 7535CE76; Thu, 9 May 2024 18:36:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7535CE76 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1715272626; bh=9BGjR6mSCozIHEiQeWRFjvpsgcKmMfBOW4mFQ/mtoe4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=PE2qGPWBhLRAKD5A9gDYSSaPBQNJ+Ay5yA1tCIfTPfcTPNxKAApCd0eiloD4HBFrO yck7+2391VZi0BhpAKB1Q8ih73Z0XatKLMKDM49mj59yDH/L9EzfESJFUSNaGNRD+b Ia4/hgKbrh+ioGHYbBBxj1OEwodvEQy2grRDcIZI= Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDA4BF806A3; Thu, 9 May 2024 18:35:11 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 53B2AF806A8; Thu, 9 May 2024 18:35:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id F259DF80564; Thu, 9 May 2024 18:34:50 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 30CA1F80578 for <alsa-devel@alsa-project.org>; Thu, 9 May 2024 18:34:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 30CA1F80578 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=kj/3K+NG DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715272479; x=1746808479; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9BGjR6mSCozIHEiQeWRFjvpsgcKmMfBOW4mFQ/mtoe4=; b=kj/3K+NGWBMxCfGCZzPmQDHNsmhQJb5N5Sl7WCHXzANWYvNRjrIQsBAk nG+Ux4LfcrOxXqZMtZkHc8wYZfAXO+MaTiuiBMi74vKJOaTDl/iNpoKiM Ir1A9de0349Q3w0QfCxOF5GLOx/YuNRJXErMJsMCso2e/XJhzx+SNcOI6 LLWpaPWyASQzJM3GMbj7eTrlKp56mq2RHLvPxi1qFU7hy+O+iPsq2XWbH jQQ7NiCaSDeosqY7fEQotQjUCrSzqxbPuml1jd8DSFAO2eBVMieKATCS3 9YojzK644B8xGetTGqMEJanHjyw6mH/49KbuavFcgs2QLzyVcTtauiN3P A==; X-CSE-ConnectionGUID: m5zvmyPWRhGD2O9uwpPhow== X-CSE-MsgGUID: 1h/C2V/NSceaCimFWCM1pQ== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="15017578" X-IronPort-AV: E=Sophos;i="6.08,148,1712646000"; d="scan'208";a="15017578" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2024 09:34:31 -0700 X-CSE-ConnectionGUID: /uBmyZ/zRC+gq+0QVJrJyQ== X-CSE-MsgGUID: E+vMIiFFRyyi0iHKXxb4QQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,148,1712646000"; d="scan'208";a="33761027" Received: from ajunnare-mobl.amr.corp.intel.com (HELO pbossart-mobl6.intel.com) ([10.213.181.85]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2024 09:34:30 -0700 From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> To: linux-sound@vger.kernel.org Cc: alsa-devel@alsa-project.org, tiwai@suse.de, broonie@kernel.org, Brent Lu <brent.lu@intel.com>, Bard Liao <yung-chuan.liao@linux.intel.com>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Subject: [PATCH 10/18] ASoC: Intel: sof_rt5682: use max_98373_dai_link function Date: Thu, 9 May 2024 11:34:10 -0500 Message-Id: <20240509163418.67746-11-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240509163418.67746-1-pierre-louis.bossart@linux.intel.com> References: <20240509163418.67746-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: EWWRIJ45T7GNRCFOOMK2DHT6FQB4SNZU X-Message-ID-Hash: EWWRIJ45T7GNRCFOOMK2DHT6FQB4SNZU X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> Archived-At: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/EWWRIJ45T7GNRCFOOMK2DHT6FQB4SNZU/> List-Archive: <https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Owner: <mailto:alsa-devel-owner@alsa-project.org> List-Post: <mailto:alsa-devel@alsa-project.org> List-Subscribe: <mailto:alsa-devel-join@alsa-project.org> List-Unsubscribe: <mailto:alsa-devel-leave@alsa-project.org> |
Series |
ASoC: Intel: updates for 6.10 - part7
|
expand
|
diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c index 3dc373855a58..6fc6eb0c5172 100644 --- a/sound/soc/intel/boards/sof_rt5682.c +++ b/sound/soc/intel/boards/sof_rt5682.c @@ -591,10 +591,7 @@ sof_card_dai_links_create(struct device *dev, struct snd_soc_card *card, max_98360a_dai_link(ctx->amp_link); break; case CODEC_MAX98373: - ctx->amp_link->codecs = max_98373_components; - ctx->amp_link->num_codecs = ARRAY_SIZE(max_98373_components); - ctx->amp_link->init = max_98373_spk_codec_init; - ctx->amp_link->ops = &max_98373_ops; + max_98373_dai_link(dev, ctx->amp_link); break; case CODEC_MAX98390: max_98390_dai_link(dev, ctx->amp_link);