Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2330088rwp; Fri, 14 Jul 2023 04:42:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFkKCe21QhwLngAiGaXj/kAWCw15BAcSU298goG2UutZIrEBCYc4vJu0mm2iVqBDQnI/AuQ X-Received: by 2002:a05:6a00:88e:b0:67a:b045:e295 with SMTP id q14-20020a056a00088e00b0067ab045e295mr4830832pfj.0.1689334954460; Fri, 14 Jul 2023 04:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689334954; cv=none; d=google.com; s=arc-20160816; b=irwZBB5nHI3hTFxo4KPM++KiVMzO9FivvNle6NnDjuQwEjz/++I5UR0yMSsb5jpVQr cLdNo+r66iujXvhlvtz1gKfEmN39YXz1+VlWiteYxRE9zr6jof+xh1CSdAMeUI6rWJSD EF3ALy3ApAfcU1pew5l177uLIFaEh+WgjF4PSGe5cJMbYBCA1ZF4QpoovazVe4uBzcZU hiqRr2Uo/qv2vyccay7AbxRAuur6brnA3u2gde5lCOWPefSWzd1vPkMff1DCu5m0zGsc CQ/pMzz9sulZBotMmXMoKZMoXZXj8vXJeYHMlSSg0B80rsv5KbW6ofdsQVg6nUlMLgbm Yj5A== 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=tTw1t3gnpbu+VWmTi4Cx6coOySZ3Ual0cJaVZCJXPkQ=; fh=Qv6WL51Wks4lACc/LeAFcosM1zsLH+q3LL8cm89/wmY=; b=lEHnOcNwG6zrJEhuW1rCHka+hwzBPPXK6XAuQegrosXiNuGVVGjWkWlna71UWPU4gr UilsTshOMpEXn6bMVlzws/8bhR6YwaF8Gj9z5B5Tv5bmOWgphumWSZtOSuKMQXlJq/99 kfJs2wpsvQFUsGWY7dNdc9S7qY3s6pZVM1U/UrC7YmxvaeM7M6L/R2hLVWZhCLqAMIKA kAWkOcnOXl4LPIq+YYtZHgLL1UCCP6u2lPXAYGLRhZMgAknc5Cpc8h2U3xCnh5R9XjqS Lvr4I5Fkefhr4s3YNqwm3nDoCQrKhUxkVCut5G51sE/pmsRlwPEtVUndxpeFIKJXpDCn Yf3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Tz8jmLiF; 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 f20-20020a056a0022d400b00681f56016b6si7174340pfj.57.2023.07.14.04.42.22; Fri, 14 Jul 2023 04:42:34 -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=Tz8jmLiF; 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 S234764AbjGNL0x (ORCPT + 99 others); Fri, 14 Jul 2023 07:26:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232120AbjGNL0v (ORCPT ); Fri, 14 Jul 2023 07:26:51 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC6142D63; Fri, 14 Jul 2023 04:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689334010; x=1720870010; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=ybJ/zTQMZflW+QDzy7QdMvE5i6zccg/T78xnlv907o0=; b=Tz8jmLiFkgCUiVRkWXIdok+rlWc70egE9X/SggB9ExF2XM3HukAK8zSL yMKT8CegH+ZuxPlixrV9lIc4DuOgDvkhODC29C8e661MsSLkqgJB9FvgH j35srHtXxoue04omrhQ7XEM9aU2FXjFdP7RHrRD2YUkaILfAQpNbQAHXy 7amtkSy6ouP3UoVbC0ps4+yP0Erq6fqkXyS8Yta78TpQ+X3t/h97YY3Yt ubXsp/5aY5D7Qtn0Fiex2kpyICcyLS43svm9ZDK+A69raf7UF6DKs6mea ZxM/Or67PuY8abKSWrLFdLmPeNnoRu2czdWs9uYB1n4qep8MpGDyJtAc+ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="365489655" X-IronPort-AV: E=Sophos;i="6.01,205,1684825200"; d="scan'208";a="365489655" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2023 04:26:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="812392903" X-IronPort-AV: E=Sophos;i="6.01,205,1684825200"; d="scan'208";a="812392903" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP; 14 Jul 2023 04:26:47 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qKGwf-002e2d-2K; Fri, 14 Jul 2023 14:26:45 +0300 Date: Fri, 14 Jul 2023 14:26:45 +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: <20230714185615.370597-16-amadeuszx.slawinski@linux.intel.com> 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 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). -- With Best Regards, Andy Shevchenko