Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp664008pxb; Thu, 19 Aug 2021 08:21:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysfKf6u/efWbbTRMsG/cLI4qFw4HGtFVEaQ1zeDE4hqMWSO+34gM7cUOhQGYqljvz1SNGD X-Received: by 2002:a17:906:f992:: with SMTP id li18mr16068447ejb.381.1629386506335; Thu, 19 Aug 2021 08:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629386506; cv=none; d=google.com; s=arc-20160816; b=KbOOXjgi3V8UPCHANt9nEO0krywfPuweJfwmyjV/tmMk+Y/PkK1nY30lDD7REcA5rO yda9Sk6WiUZew/q8ca9GRCohwzO0CkZmtCrfVHRoPPeu69PkgvAFNqDIAYH9hWQnZkcA 4iajlzEG43ysS6Z3D+X4rlDZcGoWIjzqJY4uiGJN1gCi2Eouh1WI1QmVfZxZs+bEEUrG AiEAr2iwSLCDOHy2LN4LloDWK04gjnZHDpTuM0ah8BUly9Jf4s+AvwPJ8OD4iY20q6I5 w8a4D/nzJAdpIQDg45ybAsgUGMmlfG9rBZ8J60tMmOJ4yaq4fS/aSbXCUQr7P2baMOjd 5J2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=S2hiSb8ruI2VR0vyEEondjpZ4uyxgZdw+4HA9oSWcpk=; b=gaBLVIOI3ug5O8dh7aX/DKm0y6TAKnySpDMzpKZ6+fdntIZPYPit0THY7Ac9fjBpRh i5JZaZCC8Y/wHysbA9eAMWDRDRXzuwEEmNfxynR1VQT/m76uVv731zY/l8L/xj3VQw7X 1LcDOA2leoMN2gkmpL8PK2SGg2/ZLxg5WZ+tNDkVfWMyJRB6lGcwYEnAzzHb8GSLXY/g JwAUGli1QNKQaD7Crwg5Q/EhVOVyireZp+u1Z+vdllU/1n5i+L0uE7m2zaa/8UU6/E8E hcsQbq9azozNk2fR6I3t+sg1S+RdAeExiCG289SzgOfJXkemYHtHOYlwvV3znujv2FqI zHow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si3244769edt.538.2021.08.19.08.21.16; Thu, 19 Aug 2021 08:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238924AbhHSPT3 (ORCPT + 99 others); Thu, 19 Aug 2021 11:19:29 -0400 Received: from mga02.intel.com ([134.134.136.20]:14350 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232821AbhHSPT3 (ORCPT ); Thu, 19 Aug 2021 11:19:29 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="203777064" X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="203777064" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 08:18:48 -0700 X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="489703501" Received: from mmdandap-mobl.amr.corp.intel.com (HELO [10.213.172.210]) ([10.213.172.210]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 08:18:46 -0700 Subject: Re: [PATCH v2] ASoC: Intel: Fix platform ID matching for kbl_da7219_max98373 To: Cezary Rojewski , Lukasz Majczak Cc: upstream@semihalf.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Curtis Malainey , stable@vger.kernel.org References: <20210819082414.39497-1-lma@semihalf.com> <87736cce-a96f-064e-6d60-71645ba46f13@linux.intel.com> From: Pierre-Louis Bossart Message-ID: <50eb6c88-5f1a-7a42-adaf-da16f711e5c5@linux.intel.com> Date: Thu, 19 Aug 2021 10:18:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/19/21 10:06 AM, Cezary Rojewski wrote: > On 2021-08-19 4:30 PM, Pierre-Louis Bossart wrote: >> On 8/19/21 3:24 AM, Lukasz Majczak wrote: >>> Sparse warnings triggered truncating the IDs of some platform device >>> tables. Unfortunately kbl_da7219_max98373 was also truncated. >>> This patch is reverting the original ID. >>> Tested on Atlas chromebook. >> >> Instead of reverting, how about changing the remaining occurrences of >> the old name in the machine driver? >> >> sound/soc/intel/boards/kbl_da7219_max98927.c:   if (!strcmp(pdev->name, >> "kbl_da7219_max98373") || >> sound/soc/intel/boards/kbl_da7219_max98927.c:           .name = >> "kbl_da7219_max98373", > > Mentioned by 'Fixes' tag patch clearly introduced regression. If we are > to update any name-fields, it's better to have a fresh start and update > all the boards in one-go than doing so separately. > > Apart from that, Maxim codecs go by the name of 'max' in > sound/soc/codecs/. It's more intuitive to have equivalent shortcut used > in board's name. the ACPI HID start with MX and there's not much consistency in naming, is there? .drv_name = "kbl_r5514_5663_max", .drv_name = "kbl_rt5663_m98927", .drv_name = "kbl_da7219_mx98357a", .drv_name = "kbl_da7219_max98927", .drv_name = "kbl_max98373", Reviewed-by: Pierre-Louis Bossart