Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp625581pxb; Thu, 19 Aug 2021 07:32:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4BXJ846qKyhntKf4ReVv19qz2RM/vmcCNhqznwhXlrlXCdU/73jyEZnLxvIhQdZfprYKX X-Received: by 2002:a5d:8484:: with SMTP id t4mr11412241iom.126.1629383574513; Thu, 19 Aug 2021 07:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629383574; cv=none; d=google.com; s=arc-20160816; b=UAVD99H1AAkxyvu9Dq+whuDKaRxaWBqiqhboiSF/PzygO61G1BGkpl3oNBAMOk+A0l MxCmlnpBFgAXG7CrStrAGGZVHbyV0YpDAWugX+NSv+8VWbWDj2ybhS7fnONhfT6IjaBn aGJG8g221befBAQWu33vuH82fr13NLkqMCrzBzqvuiy+EZxTn+iHpcpsovEBkpTpiUFu TilV7Y487eIlAOlQgaghRCdSzEDiVcI/GPWaNubSRgnVPEh1SojmoX4W0X9SCSRNZF/2 IozVRaKsm/zisG0NGsjKG0ChIj6JYbbSfTuvXW9E+3jOMpTYpoHLwggHqe1eGrfOJpaI lU9Q== 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=nMhEPJWDSWhzlPF3cesVwD9XEdf4kp95v65Qimrm2do=; b=pCMROa1nK3wWjcjzKSd10/p++iZCasj+erHcUa4HragPivT9zUWY0gnEIimMTbJgEO j8txIyCT9gSKuiUw5eEvAPJXFxDtpm+2x0NpZGS39RJXchp72zhcR3g3ehoDUbWyhKx9 BOu8GcNhE8CP5Gv0YM9YP2vWMRov2BBHxOjhCMtxZFeENi+SUXsJBOz3Ctds0RhrS4mA eQoV3PjTzsmuzISPn4HnUjLahpBF5O5agcZ/iqv1dJ9VMvBM1TRM+S3A7f7wdxGivMoq Z278mLcjnih4B6AKpUJaBcTSWdT+2CHT54vMXZHiiv76HnUSFqJxkNhxXkG1mrfRdLxr CzTQ== 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 e128si3277305jac.31.2021.08.19.07.32.42; Thu, 19 Aug 2021 07:32:54 -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 S240476AbhHSObm (ORCPT + 99 others); Thu, 19 Aug 2021 10:31:42 -0400 Received: from mga09.intel.com ([134.134.136.24]:44277 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238595AbhHSObl (ORCPT ); Thu, 19 Aug 2021 10:31:41 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10080"; a="216562207" X-IronPort-AV: E=Sophos;i="5.84,334,1620716400"; d="scan'208";a="216562207" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 07:31:03 -0700 X-IronPort-AV: E=Sophos;i="5.84,334,1620716400"; d="scan'208";a="489687511" 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 07:31:02 -0700 Subject: Re: [PATCH v2] ASoC: Intel: Fix platform ID matching for kbl_da7219_max98373 To: Lukasz Majczak , Cezary Rojewski 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> From: Pierre-Louis Bossart Message-ID: <87736cce-a96f-064e-6d60-71645ba46f13@linux.intel.com> Date: Thu, 19 Aug 2021 09:30:59 -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: <20210819082414.39497-1-lma@semihalf.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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", > > Fixes: 94efd726b947 ("ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters") > Cc: # 5.4+ > Tested-by: Lukasz Majczak > Signed-off-by: Lukasz Majczak > Suggested-by: Cezary Rojewski > --- > sound/soc/intel/common/soc-acpi-intel-kbl-match.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/intel/common/soc-acpi-intel-kbl-match.c b/sound/soc/intel/common/soc-acpi-intel-kbl-match.c > index 741bf2f9e081..8cab91a00b1a 100644 > --- a/sound/soc/intel/common/soc-acpi-intel-kbl-match.c > +++ b/sound/soc/intel/common/soc-acpi-intel-kbl-match.c > @@ -113,7 +113,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[] = { > }, > { > .id = "DLGS7219", > - .drv_name = "kbl_da7219_mx98373", > + .drv_name = "kbl_da7219_max98373", > .fw_filename = "intel/dsp_fw_kbl.bin", > .machine_quirk = snd_soc_acpi_codec_list, > .quirk_data = &kbl_7219_98373_codecs, >