Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp846737lqb; Wed, 29 May 2024 12:15:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZPJbdUJKQH44BDv/Rrw1Q0PwSBlxa+3x6e8YsKJhCP2CGD+SBYFGawDmMsGTsbKBt/Fu8Oglb7e6FFbMMnA2GzyxF8SyOnh1/8SaacA== X-Google-Smtp-Source: AGHT+IGlEaqaRZ36o7nimDe9LgU+Jm7DqJa16pmFHNhuiYwlfAh1nuzlhNFcsGUJ4yn9U4r2J7a2 X-Received: by 2002:a17:906:4145:b0:a63:4ed6:beac with SMTP id a640c23a62f3a-a65e8d1231fmr7952666b.8.1717010107698; Wed, 29 May 2024 12:15:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717010107; cv=pass; d=google.com; s=arc-20160816; b=pVf/9O++N5fdamF/8Y5oF5LfgS8MpmewKszUG7t/kty2L3Swumcjq4bi986Xj7GuVB CgEjaTvWt2v0zqVDQHxJFwOOwvdL2CrMAPKWVVosHVCMu6N1XJ8DhyHuBFzPSHI4AmSG 9YgW/YlUWPeO/9noV4NWkAxVAaOe4DMYYsPI7IPTRFIAS7gyraG1gNoRtiCMmIGUYtvG VYXRv6obVfdSqc6PYKvrfIp90WqLNzlqHlSMqiH49URIE9DhFd4KWlSJRZHdzn6q2pKG 9pfBjsQhouQd1zB9APfSXFwZNCzQYD2sqPYSiV17r7pKb5oZpjOdkvpkSSFqZEEpybe1 gPOw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=JLYmSpNS/NLhBML5Qu7VYGcUQvtcbldtctcGxofIhzA=; fh=tlxwzToZBz4wZwel/EYDz7YoAi9sUBbBnTUtDCFhETI=; b=Qkkcyyna1bw0srTcjLEvWeJsVCTig/o8L2o9Ufr5Fpj6y6+EsIwMI6SHJlTcp/V/kj MinTrMi4oNL4N8PghpmfyPrAdRjozcOPhoodjKEBkEFfOGMA/ny96n1aRM0Nwi1+nClF NC/d2EQ/v8l4h5p4IowsX2fOIV+8Ip+poORYZbUimiE4pUabKlDMzU1xsaIRbRhLEwV/ u67jUwsy8G6R85QZfVL/sqKT8R8oN0FHwG4XiVIXEJIl9jPczRuYXVIDgNj7O2evfMZM N1TYwjvGn4jSr8iRwvblvrD4ArZDDGeDi+F1FDF6QS5gRsBbX9Ui8EtenTfihp2R8+tF W3zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=O+rBExm7; 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-194605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a647c8d984bsi113732066b.79.2024.05.29.12.15.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 12:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=O+rBExm7; 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-194605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194605-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5CAB21F22B9F for ; Wed, 29 May 2024 19:15:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CF191C231D; Wed, 29 May 2024 19:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="O+rBExm7" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (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 E075F8BFF; Wed, 29 May 2024 19:14:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717010099; cv=none; b=ME1r8ijcyB8rytoYBym/5GsjgATnZxRzt7FtIB6bPdpqg4WVALZEf3BbzcHhP7hQEIBXFwOOTSfdqKWfODW8REvIH7rQbJQihqJgV1nLmwDftuduAJrV28fuqvLEtTRCmUaYI6CUwsMGtT8IKS32hjGyFdnYjaUEhwVBTadQyjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717010099; c=relaxed/simple; bh=2WGXBVBs50TNH9MqDPwVlbQd0d4cA9xeNLapku5f+C0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=niUBT5ZgfhtNodLnt3iITYoT1+gUP52WCu0I7C5tjvyiam4z2bC01UHSMoGEOJF8t3IlUmrSkxz5O7hMFu9sTyHfxJvUmTnkNO/fdM7HCrBT7ticObUss6XMyxFLBDorUQKfObl7mb4Twx3xAkyFjKm/1ygLIDSJmbpcOLJ5590= 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=O+rBExm7; arc=none smtp.client-ip=192.198.163.18 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=1717010099; x=1748546099; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2WGXBVBs50TNH9MqDPwVlbQd0d4cA9xeNLapku5f+C0=; b=O+rBExm76XbfZ1yzdp/rS4+DPJXckBoL8e0NadWGgErc1VRUl3kGy8z5 WgPtxBZwj+pULWU5KQmOVDjBB5oTRXejXXTPoIlwPamh/9N7wguqEOSak HO8R7Y624fQXQ5QbQSKaaI4b+wu4/JCp/KTxCCXqunZ91zRXOxz1h3vME yOrWMl5QqFQjR+w2HCWbya9CD0WFg04hao25d1J8CRaSxXmi661sxAu3T C2C+/0tZFhf0sciS1mWSx3DzS0zHoE5GKZ9EmKZNgvDivFKBjVU6LI+Vw x8h5wsOtPXYKGu0vCQX+pxY3C9k080085tAcoEcxf4Ajm19efTtNntnvP A==; X-CSE-ConnectionGUID: OSjcfNuvQC+NeAJcWU3MTQ== X-CSE-MsgGUID: 7Zk75Q1hRFKlmRVGCtCBOg== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="13212837" X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="13212837" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 12:14:58 -0700 X-CSE-ConnectionGUID: 5QmcUxzmRzeRqcynh9Mk7A== X-CSE-MsgGUID: IvecUSxRQ6eNjXYrbi8Qww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="36163263" Received: from agluck-desk3.sc.intel.com ([172.25.222.70]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 12:14:57 -0700 From: Tony Luck To: Mark Brown Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck , =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Subject: [PATCH v6 06/49] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Date: Wed, 29 May 2024 12:14:50 -0700 Message-ID: <20240529191450.63414-1-tony.luck@intel.com> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck Reviewed-by: Amadeusz Sławiński Acked-by: Mark Brown --- 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 3bf37a8fd6e6..c8522e2430f8 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.45.0