Message ID | 20240509163418.67746-9-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 27816C10F1A for <alsa-devel@archiver.kernel.org>; Thu, 9 May 2024 16:37:40 +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 A0D2ADF6; Thu, 9 May 2024 18:37:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A0D2ADF6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1715272658; bh=qo5W3WVaGz8/mgvn8RbZc8l6wDB12RWBBTmmLIzvsBw=; 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=Sy3WXvyowt3rWtGRh2W67KNeaD1K5V3igRKKWE4J7BCfKK6G/0hrsMB5pdpRsaXnw m2wLJ4V9nAOLIlICpUvDQROMdZhaKEemvgZb+sB92rWPEsAKjkh3EeaP1/Spjm2f3g 4fhCw8Uo1c7eT+2Vy7F3bteqJvpBrRq3x2q0Jl8Q= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 58291F80718; Thu, 9 May 2024 18:35:16 +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 71176F806E2; Thu, 9 May 2024 18:35:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6D7C6F805BA; Thu, 9 May 2024 18:34:54 +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 40F0AF800E2 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 40F0AF800E2 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=aYi592WC 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=qo5W3WVaGz8/mgvn8RbZc8l6wDB12RWBBTmmLIzvsBw=; b=aYi592WCRtNL8JfqtvXoa7HfIAt6DmD0wKrRDZz8adwv2mzXdN4rVDnb mLZ7jyvEJJTL0+vmNtT7mLfVWwXTV6jHNrmcsM2SP/JT90o7QLl7/OJB/ qB0kYfP0H8ANlK3YdRt1dGrC0/fYSQ38On/NV/RZI0UhuJuWIk3e+Z/jd daiyj4wK4Z1VqlZVVOq2996Ss4/Rdb9czFrpfpcN1KRly98AZZ/9ECDEl PHbauAypTtsD9a/SDAQOLH8he/olJyBI3mLtwkfCP7+oYOAc4tOlOsN9X t7Ewm21WhE9PLybD6AFTbRGPNu4E+TM6oXFbHhqM6TAReYCS9Uw8k8y0X g==; X-CSE-ConnectionGUID: I3hYRJEVQqijYHV7ogHN+w== X-CSE-MsgGUID: pR469PJqQ+W02yq8ECxXfQ== X-IronPort-AV: E=McAfee;i="6600,9927,11068"; a="15017565" X-IronPort-AV: E=Sophos;i="6.08,148,1712646000"; d="scan'208";a="15017565" 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:30 -0700 X-CSE-ConnectionGUID: 9J2HQQTmRw6IDBQCOfsGNQ== X-CSE-MsgGUID: Tp6pM+CnRs6n0Ni+H22edg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,148,1712646000"; d="scan'208";a="33761018" 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:28 -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 08/18] ASoC: Intel: sof_da7219: use max_98373_dai_link function Date: Thu, 9 May 2024 11:34:08 -0500 Message-Id: <20240509163418.67746-9-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: ZYU5KKUBEBTVHLQQFXZDSN5XPAFU53PU X-Message-ID-Hash: ZYU5KKUBEBTVHLQQFXZDSN5XPAFU53PU 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/ZYU5KKUBEBTVHLQQFXZDSN5XPAFU53PU/> 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_da7219.c b/sound/soc/intel/boards/sof_da7219.c index d7b605896f89..886771e9b9d6 100644 --- a/sound/soc/intel/boards/sof_da7219.c +++ b/sound/soc/intel/boards/sof_da7219.c @@ -275,9 +275,8 @@ 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; + max_98373_dai_link(dev, ctx->amp_link); + if (ctx->da7219.is_jsl_board) { ctx->amp_link->ops = &max98373_ops; /* use local ops */ } else {