Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1953104rwb; Wed, 26 Jul 2023 23:07:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlEwsrLt2cF3Q8uW9JohXsQ9vIJmRlaLey1NmXuFV+0dFFNlRNxyX3XK9L9Wk38E7JeUot6p X-Received: by 2002:a05:6a20:be09:b0:132:ff57:7fab with SMTP id ge9-20020a056a20be0900b00132ff577fabmr3988973pzb.2.1690438051817; Wed, 26 Jul 2023 23:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690438051; cv=none; d=google.com; s=arc-20160816; b=gCElkIQoCt1S0U0v4JyjVRpIe3f09LAmAShjVr1NRMRQKV/NS0WH+U1PN51QWuQKgi EmbcpHpvvslFY7Yv2GiP2laWPvj8mbIkCagi1F65sQPGQYaUYASYlFHyn/DP4iDHJYtK rhc3KRB3Iqvn2h85BnfU6qkIoWtRY0sMrYBCIAwC+vse5YXTgvLpM1YCR5LPp2UGzEtV v8ApkBsZFXPfi/J00xDiznm4VhfYLTJBdoY6Pipfxg/bK+pCGG+7BjbJyfK1nnUFItd7 VyTwfhUXB9xl7k5OUw8Ur+P3vXAYSuATbz/n7PYtH3mAlw/6MZVemIk8rrMG+xXtKVl4 OIiQ== 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=dsfJ4EzyIRmYtPvAHQ72cv1m747lm4KPkPsfSpUR1dI=; fh=D0gMOmNkhs5fQj2T0GUZxV2yJgwHdHN2o1RzrlSb5BA=; b=0n5XokW0jmAD5wfqLh1jL0fv1vmdno6WmDZ4Pvj9RVg16Sn4WlLNEx4QId0eOfRlG1 Nc/kwGMoFfmYE3MjuvWyE67naGvwPbyOLkKtpB/Uapz7kaLYD6P4vPkvCm8Zbq/qGDBC bVG4UKail5hLSesqN1czdESbYy3NUBQno/NhYTAnzD6SiSzxEGLmHzfBMdo6Da+3bsl7 Ft5DI7tf1gp2IdZghDPrgtPJhyuATpBjKGYywl4GfTvLo+2XPVgeSiLM2bwzdffX9dz0 EgXP60DVaehTiCFtY+UNQgYs08QS9+IB1z3jsFo6+UqhEU2SLD3ukhJvhUMD2wI5HlZZ 6gjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J7cndJ4v; 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 e15-20020a056a001a8f00b00648019bae38si847568pfv.277.2023.07.26.23.07.20; Wed, 26 Jul 2023 23:07:31 -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=J7cndJ4v; 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 S232465AbjG0FqW (ORCPT + 99 others); Thu, 27 Jul 2023 01:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232077AbjG0FqH (ORCPT ); Thu, 27 Jul 2023 01:46:07 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC6F12D42 for ; Wed, 26 Jul 2023 22:45:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690436718; x=1721972718; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=HwAWVBPhPifYPtR9YPCU/MvGfTwewwbPzIRftArYbaE=; b=J7cndJ4vdedkaO/skkHXNBkbCWxZM8wxvsChy1EJP8/nnIQIRaKEFee9 +KWTEjSNycCmqDoiq03To9JRDvtm9qrEFE2fsTXsBvmy2DVP5PRRbol77 K0vZyE6uwJj/U44ymu3mIxRUr0XbrC7IIdPK4GP/PhR62qTIdPIDUcfMN yPkChF4sFMLD5sUzl/aiQoKDmgza2s6QDcjZNqeKmIDQG8JzsaMTQuO1c RHuYtrh081FRUHBE5ZOFTrupUN66SE+sGes3doPbkK4uNJoAYEGBVyqju eIhWVaN7W95h4DauP/ZZgsKZFjhfqov+RKtzq71haN3wd1Td0GqkXLWvI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="371821131" X-IronPort-AV: E=Sophos;i="6.01,234,1684825200"; d="scan'208";a="371821131" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 22:41:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10783"; a="756522634" X-IronPort-AV: E=Sophos;i="6.01,234,1684825200"; d="scan'208";a="756522634" Received: from mseillie-mobl.ger.corp.intel.com (HELO [10.249.37.247]) ([10.249.37.247]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2023 22:41:55 -0700 Message-ID: Date: Thu, 27 Jul 2023 07:41:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 1/2] ASoC: Intel: maxim-common: get codec number from ACPI To: "Liao, Bard" , "Lu, Brent" , "alsa-devel@alsa-project.org" Cc: "Rojewski, Cezary" , 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: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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/23 5:21 AM, Liao, Bard wrote: > > 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. IOW git bisect is broken and that's a big no-no.