Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1834317rwb; Wed, 26 Jul 2023 20:37:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFGrpfFC6PjqmZi9dkyQl6JLsYCY0HcQdp9u+EDqN5tjEmFPJduJeeFLaIqCxKNZD3O94b1 X-Received: by 2002:a17:907:2bcc:b0:96b:e93:3aa8 with SMTP id gv12-20020a1709072bcc00b0096b0e933aa8mr850898ejc.21.1690429036678; Wed, 26 Jul 2023 20:37:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690429036; cv=none; d=google.com; s=arc-20160816; b=odYd8kvPbqH9d+osZSg6YHSW0JhActwnBh5MWq1L8NKTux3wpNLc2WyrPzjHhz6Scq YGzuTM7G3THQztwG3DyryQcxAUPGrg6vAT4OSY0MJMlYQFw+IoljFuuVOn/zNMt2GTQA NoGZ4H46BmVENmyLoSvwOv2N8aqh2UUWOYTfVIulFrO9y9vec7wXXBX0+wMwr6vQeOdk qchEfErpe0eCkGxZ43ooqWcgpa4smU9vvGTofcKyr54J2kva6lAbRM6OGyoblS8Gqi/2 +6UsT3JUTqQMyxHOad9T+74YUjoso9qlmv88jOqNGP1gxNhrX2VMt6iz2PcdxC4lxx4b 9izQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nPB2w9dSjqlHnzGsCdfKxPajMcJwjwbcBaw3wQ2gZzQ=; fh=2NLZb6tfxX5y+viHLYw/G1R2vkDKkE01Plc0UH1DNro=; b=jgLq5CGQilqm8nRco0kGRu4oXFcYfPZ5YMdQad9+/5io2+uh3y1vj5j9XI+zaRJX96 T9rJ+NF8vDljsAxPFx34DVj3LjTEB6ky64RbjGiU/NXOS/Og61VReA7iRnWjbG5LFnJZ uGSw4VouA6c7Kjy5DctK0nd1MOkA+3mihqypuVXcpknM/OCQeGdPM1RUgj5j6Cma6DUV 1N8NL+oMV2IC4oOCpZDUeud6D+AdlylfXuA/N6Wn+atkCPBrd1DdCbWSYu0IzdYQkxCa U0i6fwQmxFNXE+EojirP3J+mhovOpw5KAgFedoqmUwYaAQa0wZPX/TV1xYW5OtC/hY9i U06A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Q+gsYxlJ; 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 k8-20020a1709063e0800b00988919c8a70si334436eji.59.2023.07.26.20.36.52; Wed, 26 Jul 2023 20:37:16 -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=Q+gsYxlJ; 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 S230405AbjG0DVw (ORCPT + 99 others); Wed, 26 Jul 2023 23:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjG0DVu (ORCPT ); Wed, 26 Jul 2023 23:21:50 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 576481FC9 for ; Wed, 26 Jul 2023 20:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690428109; x=1721964109; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=nPB2w9dSjqlHnzGsCdfKxPajMcJwjwbcBaw3wQ2gZzQ=; b=Q+gsYxlJfaqAbVmDFoRO++jO2Ccd5J1+MwUuLHU1RYNgWezQ03/VAvAb JiX3FjnmKNqqLbD/Q+0CXcDVejkedPNL9ZG1Efw54ifwvajKbrYR4aLMp 72skElIp8sdKKs+9YnvmwK5Cv36+R1Kjl4yXVUJ/1DtR5Xxk+IiPsQpUp s1p8oE4BSse8XeMR7a6IGUCUYi95xaj+CEyP54nOs74hiuxiLPHYmeTpJ +JO71oFZJKCAIiDyfEB7wgpSYX3ulEotthTyOD90H0j6pc/E6imdGUSaM AXh9kMx6HoVqZ970g+z75IMwzbbU+oTCe3FoFZ++ZO6mqDqQZDhcJpYV6 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="353091844" X-IronPort-AV: E=Sophos;i="6.01,233,1684825200"; d="scan'208";a="353091844" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 20:21:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="900697655" X-IronPort-AV: E=Sophos;i="6.01,233,1684825200"; d="scan'208";a="900697655" Received: from yungchua-mobl2.ccr.corp.intel.com (HELO [10.92.2.114]) ([10.92.2.114]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 20:21:45 -0700 Message-ID: Date: Thu, 27 Jul 2023 11:21:34 +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 1/2] ASoC: Intel: maxim-common: get codec number from ACPI To: "Lu, Brent" , "alsa-devel@alsa-project.org" Cc: "Rojewski, Cezary" , Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , Ranjani Sridharan , Kai Vehmanen , Mark Brown , Jaroslav Kysela , Takashi Iwai , "linux-kernel@vger.kernel.org" , "Zhi, Yong" , Ajye Huang , "Bhat, Uday M" , Terry Cheong , "Chiang, Mac" , "R, Dharageswari" , Kuninori Morimoto References: <20230720092628.758834-1-brent.lu@intel.com> <20230720092628.758834-2-brent.lu@intel.com> Content-Language: en-US From: "Liao, Bard" In-Reply-To: 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,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/27/2023 10:14 AM, Lu, Brent wrote: >> >> max_98390_components[] and max_98390_4spk_components[] are still used >> >> by sof_rt5682.c, we should remove them in the same patch. >> >> Maybe combine the 2 patches together? >> >> > I've got your point but these two patches are doing two things: one is refactor the > code and add a detection feature, the other one is removing the quirk. Not sure if > it's proper to merge them. The point is that if you remove them and they are still used somewhere, you will break the build. i.e. Kernel will not compile if we apply the first patch only. > Regards, > Brent