Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2328790rwp; Fri, 14 Jul 2023 04:41:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlGBwJIpfQwFkEI2jqgpuSV/cf3PJ32zPcINKlrSq5Rj1k4UrasIkPqttDlCg3KRi094191I X-Received: by 2002:a05:6870:702b:b0:1ba:4815:ee64 with SMTP id u43-20020a056870702b00b001ba4815ee64mr906311oae.1.1689334866915; Fri, 14 Jul 2023 04:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689334866; cv=none; d=google.com; s=arc-20160816; b=XDVZPskej671FfqZCbsrfHq2j+Uw7nVC6Mc6t5hbO0GBfHwq07IQbEy96A0kXfgntf vkRQwT9Rn1zZQLr10qNSPuLqBLdMA7Dv9NtFjup/k4priE7ybaSfqpUe0JeL+uREAg0h 38ERQNod9stGM69KnPXcnlesSKvnNJ8mRGYxo1iMKkYwODiI0HzMJCctVTyuyGwmwgJn BcAIqp+E6uyRxfbS+LmQWowRmm0GTjlyD4e8DwdzIe9IZH2GCoxclPsnbzPC8UM/xMOw CowYRtcr2/PfxS9F0hezGXNSRW6BH3lHvvjagegs0uMFmI2oxnWPs7s/1qPZgBz4TifB 5Xyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QswjVHE7vJN1Is+R77VOvSVuN9GaHXpfJQqu4/zFDOU=; fh=Qv6WL51Wks4lACc/LeAFcosM1zsLH+q3LL8cm89/wmY=; b=BnupmVip1xrCqd0JSnE4wPcrUVLbatbSY6JwHb7qeNh8qaIo7sFmu4ThaV0VZlUbA1 rSqqX88HSTdzEkLxRBBYyuK5t/UgnusChY8xFubFX5l+l1q05hL1ruPONmzr3gTZ+xyV xN4QKUgRok4dFuoOtKRDDaEAkCR8eq/uXHplnTNIILkIATAbS0vmQXDSEu6siw9VYL8k mOpYpNPMvoxpeO5FyY2jvS0hpl/nnD43sZX/r18j9ZZ208FrQTvhGZuB9m2May54bbiD pxrQVYbILpXmSZDzCkFrtwxNyuC66Sv74lJgkq8jJDtlHzMvitGSNIblL4X2X+0G/zkO UphQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jDSD6Vgd; 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 bs184-20020a6328c1000000b00540107fc033si6583176pgb.282.2023.07.14.04.40.55; Fri, 14 Jul 2023 04:41:06 -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=jDSD6Vgd; 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 S231362AbjGNLch (ORCPT + 99 others); Fri, 14 Jul 2023 07:32:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235523AbjGNLce (ORCPT ); Fri, 14 Jul 2023 07:32:34 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 724853586; Fri, 14 Jul 2023 04:32:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689334353; x=1720870353; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=vMiLtLLmLYbROtrWsVDVcXNKwbyBp9NtziuSigdu7S4=; b=jDSD6Vgdor66fKSfUUqXewXMEQKB3vGvHbz09LVumUzFzd2BeIJmOjhZ h3h0YYNNTOK+j8WsAl/YaNqRWthZg4av2Gi6+l9U2jFe9Vv+1vEO6kkZR GJIPFBDw3xaTzP1vlKpF7fJjkRXd93GLzn5BPTQ85dRhO7WQoIqxlmcZc 7rL9lQ7nYqT7avrV2sVkKMEtm6PApfav2rUom3I5Lx2MrIsuSo2dy1HLw wd01i3F2J9k76DnPd8AMvEkLSYg8lUfmPp5d0xGt1De2Q2Rd+ElLspTkX 2ayarqpYbQgQpthXa3N/uC1b4PD00ooUcjLzybawvseh6ena3noMKgfYU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="362920112" X-IronPort-AV: E=Sophos;i="6.01,205,1684825200"; d="scan'208";a="362920112" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2023 04:32:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="722372918" X-IronPort-AV: E=Sophos;i="6.01,205,1684825200"; d="scan'208";a="722372918" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 14 Jul 2023 04:32:29 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qKH2B-002e87-1W; Fri, 14 Jul 2023 14:32:27 +0300 Date: Fri, 14 Jul 2023 14:32:27 +0300 From: Andy Shevchenko To: Amadeusz =?utf-8?B?U8WCYXdpxYRza2k=?= Cc: Bjorn Helgaas , Mark Brown , Takashi Iwai , alsa-devel@alsa-project.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Cezary Rojewski , Pierre-Louis Bossart , Kai Vehmanen , Hans de Goede Subject: Re: [PATCH v2 15/15] ASoC: Intel: sst: Convert to PCI device IDs defines Message-ID: References: <20230714185615.370597-1-amadeuszx.slawinski@linux.intel.com> <20230714185615.370597-16-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fri, Jul 14, 2023 at 02:26:45PM +0300, Andy Shevchenko wrote: > On Fri, Jul 14, 2023 at 08:56:15PM +0200, Amadeusz Sławiński wrote: > > Use PCI device IDs from pci_ids.h header. > > Perhaps one more sentence to explain why this is okay change, like: > "The ACPI IDs are used only internally and lower 16 bits uniquely define > the device as vendor ID for Intel is 8086 for all of them." > > Suggested-by: ? > > ... > > > - { PCI_VDEVICE(INTEL, SST_MRFLD_PCI_ID), 0}, > > + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_SST_TNG), 0}, > > That 0 is not needed, OTOH you may use PCI_DEVICE_DATA(..., 0). And you missed the patch I sent to you, i.e. replacing field and function parameter type to be insigned short. Otherwise it won't work with ACPI. -- With Best Regards, Andy Shevchenko