Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp614593lqd; Wed, 24 Apr 2024 11:29:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfSetmmG5o1OnfRXBHtkA3QBLjScv28XTJKHNF/gkM0RcA1/Q5afdWbKsvkkoPzH2J3Ui0TJGjHAHwultR35UKjM8i2D3Ph7s4sA7RQg== X-Google-Smtp-Source: AGHT+IG7ublB7BNEjICHRTlG1rZlYFK7/qFHDdmDurCDuw4QIiShw6ZhoSX+p1ISZ02Ht4NKbVjf X-Received: by 2002:a05:6808:2a0e:b0:3c7:5146:c4e5 with SMTP id ez14-20020a0568082a0e00b003c75146c4e5mr3166223oib.41.1713983357404; Wed, 24 Apr 2024 11:29:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713983357; cv=pass; d=google.com; s=arc-20160816; b=0gM55j3WOXgE44g1M7G1avtLSgnRsRUhaYR9B+5f7+f4cJuxqLpvteaR/xB0GUa9he PIUziIctYA2g+WkFBJKgY4UQEZMDccm9Z+QdD0T+2MdRh91XuAGvIVt+3J73u5KUveul +2fc9fK9Lk41GtEUwlwTaDZ6hxlX01oBz/LvEVN1aDLk9KPmjZavY3XeTgKKYs7XRgLz 5BVAPSLeDpruLFPf2r0TOT+ohkyup1yqb6RoueMneUySp+bq3ryh0FwKRBnf38mAKlsw 2EZR2IQqXDWmayXulZVsEQKj7RDcROsyLHrsCrWKv46z8LSKEW9pmYPL7Q1kMIgqXoBW aGcw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sPSjWfghY+TLsC4umCHxBWC852JjtAeddfK36KqKTSk=; fh=O3lF6QMzzJaB0ygkaGqFW0TBhNL7sMVVX5eUrip2AO0=; b=hioIsffBxBqFfk6sGBkEEdqSbw/UbJOrnr5Zw5MyV8maeM3te44TSksm28VNoCz9oT FlFwj957utcn3YBYHEwJq2WqwZB/+yp3i9pyaNgjy1klogAu7A6iQaAiMkXzHSJqiY6v /TYB37U/XryQTPQgTpYIRE26pgv8lL91mKjm5ZOpDhMxnJ3noUtRNagkyV3YBD/hiXUZ ZCneoGu031mHD2Jf87evDd9pp/H2a2XSc0XfpWlu+s79qAUtHJgNai4nC1JQ3ppQpW+p c/Mvrs3TpAWDrTQ6JhQESscteTWLMcba5cdGoY6hVav+D3Bo/3Jtl1m011tBV2nvON8M J7bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IrGOG2KV; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kk6-20020a056214508600b0069b40c7f96fsi15432186qvb.310.2024.04.24.11.29.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IrGOG2KV; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-157518-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157518-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 016991C228F2 for ; Wed, 24 Apr 2024 18:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9600C16F0EF; Wed, 24 Apr 2024 18:15:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IrGOG2KV" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 645B520FA88; Wed, 24 Apr 2024 18:15:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982552; cv=none; b=NH8wCy0jBcMrdRGdNGeNhtcBkPPnt3g8Bsx2sLeP0bG1jqTFSEBm3tnmIxmwKs6y7S27pnch/PHuwRPy/2jfCE9S3cb+WpSojGH3M59itwZhY1dkE/cxPrc9bua4zHuYXuZmGiamdATn6BSGcka63iDp+9f6043FjDauUmivIOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713982552; c=relaxed/simple; bh=O/JDw8NfkaF9jcVHcgdlz6maAm+xtjFyjDd9Vr0iZSM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jAl9X08D2xwdt8rbt69w5LhUWePLip3Vi9Vm8IvXNr4YRmuvM6ljxIYRyfCVVADp9qs6DSdhrlgkNj2dZtwhBLaxdeIl1Ax7iNz9EHyKE6T1EGVvihxa8BZ8G8lGPM+bAZTXcCo+UqZZIMY6+UUpHyl9o3ZeZ2vi8pYgEV1tr6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IrGOG2KV; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713982551; x=1745518551; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=O/JDw8NfkaF9jcVHcgdlz6maAm+xtjFyjDd9Vr0iZSM=; b=IrGOG2KV27KWbhn1UfOTQeOr1GFCZoQjaxQQxoTOUU4rqw73Dtvb6Bzo BJ7JlojFLC4YkeOlyC1QVKrFRCwrMnoDS3QPQBBlGEQHjxrcmA+MFIZNF nRtkdbNyv5naoSQLjsO+fqZenbJ2q6nd64m+bGQg+p9IEXxtzN5q9aHCl NEdSASY0GVZtvovC2tWtgUheb+1SMGWpTbKw6J4GVVCoTT2Ou6rdOZEDN 92M6AEmDoSzhZ1641p9DdHmBVlDr/rASqXx7l5wcv2uF0oX6f75o+HjRv URZRjnX0mSi4lpjnpiNogYdpXrxGSaRptQNgtpNXsVgFiqcC1VKNXX0AM A==; X-CSE-ConnectionGUID: lf9Xai+vRKus9H/kSQgspA== X-CSE-MsgGUID: UVJCZjJHRbWYF7OiTlKlfQ== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="9756053" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="9756053" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:51 -0700 X-CSE-ConnectionGUID: T9nCikZuQKGmObTt2tD5Xw== X-CSE-MsgGUID: DLFKgAyLRaOzpNGLtJ2BRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="24751186" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 11:15:51 -0700 From: Tony Luck To: Borislav Petkov , Jaroslav Kysela , Takashi Iwai Cc: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Kai Vehmanen , Mark Brown , =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= , Krzysztof Kozlowski , Kuninori Morimoto , Tony Luck , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: [PATCH v4 68/71] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Date: Wed, 24 Apr 2024 11:15:50 -0700 Message-ID: <20240424181550.42466-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240424181245.41141-1-tony.luck@intel.com> References: <20240424181245.41141-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck --- sound/soc/intel/avs/boards/es8336.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/intel/avs/boards/es8336.c b/sound/soc/intel/avs/boards/es8336.c index 5c90a6007577..3d5d4685a668 100644 --- a/sound/soc/intel/avs/boards/es8336.c +++ b/sound/soc/intel/avs/boards/es8336.c @@ -18,7 +18,7 @@ #include #include #include -#include +#include #include "../utils.h" #define ES8336_CODEC_DAI "ES8316 HiFi" @@ -153,9 +153,9 @@ static int avs_es8336_hw_params(struct snd_pcm_substream *substream, int clk_freq; int ret; - switch (boot_cpu_data.x86_model) { - case INTEL_FAM6_KABYLAKE_L: - case INTEL_FAM6_KABYLAKE: + switch (boot_cpu_data.x86_vfm) { + case INTEL_KABYLAKE_L: + case INTEL_KABYLAKE: clk_freq = 24000000; break; default: -- 2.44.0