Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4629686rwb; Mon, 31 Jul 2023 09:39:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXnftGCX2pjyEMReulpJDw9bMJvP/+VPsxTnChpUizk2WYR5B9RQjf4DLjpB/lsMYUAhMK X-Received: by 2002:a17:906:20de:b0:99b:d698:152e with SMTP id c30-20020a17090620de00b0099bd698152emr312888ejc.42.1690821554454; Mon, 31 Jul 2023 09:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690821554; cv=none; d=google.com; s=arc-20160816; b=vWJsnNYrlO4VdfGZQrtopRFu7YwnHl2n3dovIc5jKjw6Ryuiseh3vin2yteQ8wOy2U xzotjNg8fblgMHY6AokHBeHvfDxZGq84w+S5eRpvRyLcJufU0vwwZK8JFKDDooTSMpSE tbmYWAM8dsnViX6TAj0zJRcbyd/wRc4dY9R72qlWsji+UgKjGxBHaxHE+FH2je+qsENM POW8v1ogJQWiwVrBwpKKCoFhbQT1BZnVzUtN61h0U+ilM2LfcFboX9xrU3NuuXP5Kdbc 0Bz69SQ1ia9SfEW4CG0BT1d4eeSbYjPnRIctXSYSuCw7wWqVWrqa9fxaNYJuekE8+rkM CDOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oYe2xV21ezZJxJwikJGAslcgJg5uX5TONojyRD9TDCs=; fh=fzIJb4eakNvpwtMw8Sd7xonuWsTPjVPomL2M5RlwkJ0=; b=lPfkSasJV3EsAbk9U+BzpgD42GpJkqeRccc8wK0uETF78m3ylBBUmz3phKbxq06iRw Jb/8wW8mldvnwU79gfWxqoNK4oeaTjJqErJzFgYkjjbRh+BV8lxO2l5Wn+FngH7SFc2R o6ryrl/IeKadcXULbQTQ1avqImDKzrlPlv6R7EikN8azQVBVJo5twzdr6HWQL9Rg/rKD tXZ9xLYVokizfamEghfozr2YDGcDCLQXm44U+tNMVqzspV91tTNVRYIXi5oXW2Jy0s9A 0a1tkmKxnhCf/FysifHn2jTkd+i0G5Y+ivZ2sHmUYPe6c9ApH0Z71V/0naJAzK1cz2lT wO9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WYoUadmw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a170906688900b009930f844671si2064329ejr.963.2023.07.31.09.38.49; Mon, 31 Jul 2023 09:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WYoUadmw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230369AbjGaPSi (ORCPT + 99 others); Mon, 31 Jul 2023 11:18:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbjGaPSg (ORCPT ); Mon, 31 Jul 2023 11:18:36 -0400 Received: from mgamail.intel.com (unknown [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 983CA10E3 for ; Mon, 31 Jul 2023 08:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690816715; x=1722352715; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=tHseUDP5ewIZ91U0WgZQH8SlyWmcwyeqJNAjRGZdQ4c=; b=WYoUadmwKPo634XFchdtos1Qpj4E/QGrJCr/FRi3HjRMsN4QTFIkbhQ7 K9NA5r42SVxavdOZGEhSsDSa6oGQshPM0gRxIc7T7AsTlvTN0k9ppa9MO 03yn3K1wabX6IyJBnrQOmS/z+IBwZrBeIOrNCsmwlfvXycr17NIqAaqvU NeOrgsyyPI438scsFfLVRSBoB4WvWCDNszX6xR+n8qy802dkucIgKMb60 sQgxKW/LPAU3uev8IiXIhOdqPT4nY2e75lF+6gvmSFgExSlCGrt+FLnoB PHEhcCgZSWSHEzWGCGSbvr7cW1i2NdoJYtw0Ptx4em2VYXhukFithHGyx Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="432863977" X-IronPort-AV: E=Sophos;i="6.01,244,1684825200"; d="scan'208";a="432863977" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2023 08:18:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="852095057" X-IronPort-AV: E=Sophos;i="6.01,244,1684825200"; d="scan'208";a="852095057" Received: from sambriz-mobl.amr.corp.intel.com (HELO [10.212.68.117]) ([10.212.68.117]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2023 08:18:33 -0700 Message-ID: Date: Mon, 31 Jul 2023 09:53:02 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.13.0 Subject: Re: [PATCH v4 1/1] ASoC: Intel: maxim-common: get codec number from ACPI table Content-Language: en-US To: Brent Lu , alsa-devel@alsa-project.org Cc: Cezary Rojewski , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Kai Vehmanen , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-kernel@vger.kernel.org, Ajye Huang , Yong Zhi , Terry Cheong , Uday M Bhat , Mac Chiang , "Dharageswari . R" , Kuninori Morimoto , ye xingchen , Andy Shevchenko References: <20230731103419.2536036-1-brent.lu@intel.com> <20230731103419.2536036-2-brent.lu@intel.com> From: Pierre-Louis Bossart In-Reply-To: <20230731103419.2536036-2-brent.lu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/31/23 05:34, Brent Lu wrote: > We implement a helper function to get number of codecs from ACPI > subsystem instead of using quirk flag in machine driver. Also refactor > module interface by adding max_98390_dai_link() function. > > On the sof_rt5682 machine driver side, we remove the quirk flag > SOF_MAX98390_TWEETER_SPEAKER_PRESENT and use the new interface of > max98390 to setup dai link. > > Signed-off-by: Brent Lu Reviewed-by: Pierre-Louis Bossart