Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp653849pxb; Thu, 19 Aug 2021 08:09:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyinyXLogI0afWbpNT39EprI6+DycMUMEvYJGw6A6MHqlYGHI4TWR2ZxIhvIltGPR9lp9jy X-Received: by 2002:a92:d304:: with SMTP id x4mr10264738ila.82.1629385776558; Thu, 19 Aug 2021 08:09:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629385776; cv=none; d=google.com; s=arc-20160816; b=TKhXob2gA0yZ1ZjbX966xlJtgAV9CrJf7gsAGZ2w42QYYy21mjEpHogRzpbmmw4PnP 3Sr8HiXmbmlEWyqLvwIo1Jltq3JJAreq3QeHz4V1f+jy5CO9Pi95aOnQwFhNWMKjyLNG i4uhrWPFp0KHRReJSSDciHz+GBjLLuwCTTohaD7qbeKX7x8GuNErCJkqVzj1GGYi92g0 kc8V2KahES3lkmgOTIoJZqQBz+d6LqnHWZOVivcsKf+RZJERW4xZmkYId0Y/n+2ZEEBq ttY98qaRvYN75MIpvDPR2qwyERXHvfoRBDi7wtceGUoy4yJutTWouabTiXvIFgFY5OvX vAUQ== 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=k2pvkngtaQZJ+uM+5moQqULjg5G5wiCWY+Wqv1vpZTI=; b=NWz5WF4AoVEsbWbGLaE21XFX/hsQMdzFfgI7eBT6R+R33XfR7T0RYIxpSiseZPX/7S QpRUV6yJKgoqEYI4RUItVkMcfKiXMAZRoGJm71Zp3Pft9xJAutLGx675SnjqRfND45kN jYexyF5dhMs8BwD8jrXg+573vpWQORB0MXJdINCdob557lWjIY8w/duKaSsAJXnOm6fw Oo6e1bn8BERMbCZQznLYRbGbefHRnyuKxaeke6ycqrlaaNND+I4K1zW2y5BlkG0I2wS1 wsENYV5psChKwjHzAOejF1eBSrT4xcHiLiabKj7M4zY6a8JnSVdxMbGUx8EWmzyCb48Q BXtg== 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 k3si3025383iog.8.2021.08.19.08.09.25; Thu, 19 Aug 2021 08:09:36 -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 S238607AbhHSPHf (ORCPT + 99 others); Thu, 19 Aug 2021 11:07:35 -0400 Received: from mga05.intel.com ([192.55.52.43]:32319 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239184AbhHSPH3 (ORCPT ); Thu, 19 Aug 2021 11:07:29 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="302160647" X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="302160647" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 08:06:52 -0700 X-IronPort-AV: E=Sophos;i="5.84,335,1620716400"; d="scan'208";a="522471382" Received: from crojewsk-mobl1.ger.corp.intel.com (HELO [10.213.19.151]) ([10.213.19.151]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 08:06:50 -0700 Subject: Re: [PATCH v2] ASoC: Intel: Fix platform ID matching for kbl_da7219_max98373 To: Pierre-Louis Bossart , 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: Cezary Rojewski Message-ID: Date: Thu, 19 Aug 2021 17:06:47 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <87736cce-a96f-064e-6d60-71645ba46f13@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards, Czarek