Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4055124rwb; Sun, 30 Jul 2023 23:52:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlEXHfCTGvYsCQS04E+Q4X0NFLjkowq6gCCKtqBekuM0zUSF0LbMC+QX3Fnh0XodMYepOsVg X-Received: by 2002:a05:6402:7c6:b0:522:3ad4:9c9c with SMTP id u6-20020a05640207c600b005223ad49c9cmr7741939edy.31.1690786373195; Sun, 30 Jul 2023 23:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690786373; cv=none; d=google.com; s=arc-20160816; b=H/LdOxtkHAW2XGB/p3wY/r8VxjoE/KK9I28fKRrA3KRrbBpcUNdfC+NLkZ6qvLfGUG sKBSZQOAPsft1NWBsogUJ4sGkUN1O3FKuCuDCcB5yz6SI2hCJkgz9J4T0Ehur7DNsgOC 5NP1+RVqoS1e2vU5ebnd1Trti7mKGhk0Nn0MyD2qVdjf9USiPBVy2/ALZJyeleldkn0Y 5lExgwBeMzhUtm0o9o3rqhyzHXk2NhyEd3IvPbatmNtu7HMvcjhHPg2mifICWjCQzz0W +SBIm6wW80glZTDBovNj3rv9dJcCiv7EnwZv3eBsHOV/TXg0bImmr20v+03e5cqtzZtx yvow== 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=qxFz2UwvnFHJYzgei+xCEu7KR04+AmG77qcHQUxmLjY=; fh=1a6QWNL6845bFpxueoDn1rv/Nqgnckqlcg4gW7V7BIU=; b=vGNAr9/3/chaM1ZoP+5N50kpzc7yA9O2m7LFemIh5jbI0sAH8NW51uxEJVK81mXGqw KU2BIeoAnnPBjoSGerXUqIovk5Hize/l7uj21Ki+oO4Ayt+mwDcEfk+/7owY8U1mYsvC 6pOl4KwkNfWv0aubRad794lrBQRUTPwY6/hfTu8SpacXYICwetisdOjmJSCX4Hb7M1Dd MFXoOEz0Twvz/byMgk6f+hyUzjzJfdCqsiL75N1n6rFjQRu+szE/UyMZlJvHH/b3Vb6b 7dUsIr7Id6N9iw6elmbt5G2/0t/wGp/At1EA4Z+y+nPns1+4rLERkrHsPvUXizuicr2W hcEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i224ZnxW; 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 l13-20020a056402028d00b0051e05fbbc31si6312796edv.56.2023.07.30.23.52.29; Sun, 30 Jul 2023 23:52:53 -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=i224ZnxW; 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 S229713AbjGaFko (ORCPT + 99 others); Mon, 31 Jul 2023 01:40:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbjGaFkn (ORCPT ); Mon, 31 Jul 2023 01:40:43 -0400 Received: from mgamail.intel.com (unknown [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B87F5E76 for ; Sun, 30 Jul 2023 22:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690782022; x=1722318022; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=qxFz2UwvnFHJYzgei+xCEu7KR04+AmG77qcHQUxmLjY=; b=i224ZnxWUUF+md9GHbbAgakHqF3hMPNSqJwpQgcfud7K/Ju8pbXo5/kB CnRHqV8g/0jODvp/aBXEduexYaSyCSlAFKIioWPs9yECGH7meB/bWOE9H FmfDJ0yMnLV1A0kObQkw18FldHWv69EKVI/ExWDpdo3EE0cui20QPBExn 9QCJMMIFGiKxfODIRVUY+X5ftUzzpSoPu56tUKBSRWweYabkWg27sJl3X Zo1PolZzGj9qY4u3jsZO3G/VKp5i/mqM1ez0MAAV8wQxaf9B1DZwo+cBs qcvjFJSe0tWsaEZw6KA/09tJ003oletSB8QQIEJ6BfvQd+5FONX+xy8X5 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10787"; a="368938065" X-IronPort-AV: E=Sophos;i="6.01,243,1684825200"; d="scan'208";a="368938065" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2023 22:40:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10787"; a="678193915" X-IronPort-AV: E=Sophos;i="6.01,244,1684825200"; d="scan'208";a="678193915" Received: from yungchua-mobl2.ccr.corp.intel.com (HELO [10.92.2.114]) ([10.92.2.114]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2023 22:40:00 -0700 Message-ID: <70ff624f-75d3-d6b1-e709-97d7c75ea3da@linux.intel.com> Date: Mon, 31 Jul 2023 13:39:58 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 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 , Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , 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: "Liao, Bard" In-Reply-To: <20230731103419.2536036-2-brent.lu@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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/2023 6:34 PM, 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 Looks good to me. Reviewed-by: Bard Liao