Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2170732lqa; Tue, 30 Apr 2024 09:51:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV64loWQyUAmGZbxvtb/KzoUCN3V7mZRWcdUUdz6v/qt04T8E5EjfXENTDVwYyIfHS6lbHUnpD5jpA7Xvp8i1DrxGM2UbDX+zQiGVIH1Q== X-Google-Smtp-Source: AGHT+IEC8PZ4HIzl2sIdVjDZoBTHxA5U8/zwzpGqdcMNpq9ps+s/bIbVvBfsHiRnX+YcIKaZq8xk X-Received: by 2002:a05:620a:5dd5:b0:790:6857:8d8a with SMTP id xy21-20020a05620a5dd500b0079068578d8amr14214352qkn.40.1714495910429; Tue, 30 Apr 2024 09:51:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714495910; cv=pass; d=google.com; s=arc-20160816; b=bnErCVmk30UkN2ts7GZmN/DUBMJ3r7EtPitX9Vsvrr7RE6mmRp2n4w2Vb+6oPI6OgH oyjLekqqeSBLzW79aGhjWX6xgdZqSaDknHCHui4fclFOo6Y/YI53SLXDaLhnZteoKQhr Y+1m63bhoQPGv6LyAeKR3uO3v7K0E48LC8GnWyI5syQ4+gREa/V06m+nbAXoeuryHwfk P8OrHLi3NBLVvDOgqCP6mf2S08k66Rg4Da+t4EC5ZzEQ9xWj6eR/NKeSBVFP2DOBguXO lSKRHXCGCjyEcHVJAGH1UJY200NpABeMWW/t7ce5ZAOkCoD9rC1cbyQJXAWAsgM8uuZO 7Yug== 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=lZ+4fFd96NrJNGr0xHlRHcE7v2DiApbM5TxHqBsWq7c=; fh=fdHpz1v0vq+15c1rvSHIgdh8Q3/05rs+r5Iw2Bwj/GI=; b=CtRNr6EgmVKyHb5segELQmd9DpoF5/3r1i0g2EgIW6lXx6vyTNSAi+YwxuJ+dB95Z3 PJ8CdBFyewbe9maMOvL4DVsmO8iH+pV5VhJb/V5NEPtD4AXJqijSaU3UtyHivojs/VPt Yc7TL6QcbVDOHRuxpcrIJoiNM68m4M2rJaRW8REgWrcIvMc3epUlflQr9xKk3niJCg9h HRzvgWiuZ4sarY0M2ZWxIEPGcObGpfdVi0uO/D5gOd8b3nEPQ0susjqUxp1sovPH7iij ryHtELkR0U1rXJbe7eul+q781yj+HKUrw0zZbKeZeqhC3TWy4fBYartY+TkOue3EPwMn S6QA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SwrkzCbH; 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-164431-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164431-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. [147.75.199.223]) by mx.google.com with ESMTPS id x10-20020a05620a0b4a00b00790f9054e70si4279056qkg.522.2024.04.30.09.51.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:51:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164431-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SwrkzCbH; 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-164431-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164431-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 29BBA1C23B65 for ; Tue, 30 Apr 2024 16:51:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48FA917F37D; Tue, 30 Apr 2024 16:51:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SwrkzCbH" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 14ED8176FD8 for ; Tue, 30 Apr 2024 16:51:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495894; cv=none; b=iS/entokUJnKjUGdUVOGPh2uof4qey/DLVS25wwkQeedRtB5GC/sxvQVHcAAKNRbDLBB8oEA4sGFtH0iRYlXf1pK8wkhr2o6YMx0SkOUOeQiW6WD7TYNj+o9gMOioC97U0IEqvOJPSkfAIHcTWycBvkMfwwGrYrBhcieW/P/Oms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714495894; c=relaxed/simple; bh=/S989FH+YbIptoEIz6YeaHhdHIj5oah/mXRofFi5shk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hYy6TMLeWR0QwW7Qy4mIfbPx1CQqYW/kB/97vX6P/upqtV6EEKRK+TL4lqsgZ5AYPgvpIi2Ne35tFUL7DqHv8G+GRhfmvXFomJHCZREjdBpJtkIoDUqRKx7eDHmrYBSGgwrBgks8jmkNYkMMGyDH4ImEqvhOJ2+C+tQLEJjqPOE= 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=SwrkzCbH; arc=none smtp.client-ip=198.175.65.19 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=1714495893; x=1746031893; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/S989FH+YbIptoEIz6YeaHhdHIj5oah/mXRofFi5shk=; b=SwrkzCbHswrbgK75/zl9XItkcc/61gs1ZBUSqFKvE61HagmPtTYv/gW2 NFRp/rrlueQ3Vzpy0pyRQhsaXQMtxAWWMCojJN+Ua0zpwigMkTfMSv3xY 0z3udQ0at9mQK0VF8Bj8EYJ/ciE32rycB3vQcFNls1+M7wbG8P5u16QZN clPK5NVkShFAsbbSz6SqczxxWEg81pRH9eVmifnLVGBwuK5aEx2qZXKj2 o/U9D4ik9oxOfU1sh8kRxrNEeMEahTr8HnQSaZeAcHmQWGHBSiTRFZQ06 PKi2EboLulhuyqcHckwwacFLxObHmdhIYLYGj6hOxLf2DFooOAWexmiYI g==; X-CSE-ConnectionGUID: q0QcFowBR/Sxa8o8yAzRWw== X-CSE-MsgGUID: /gCy2HABRNalsBkjf2zSgA== X-IronPort-AV: E=McAfee;i="6600,9927,11060"; a="10075607" X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="10075607" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:20 -0700 X-CSE-ConnectionGUID: 2Rnc0CfMQ2Srp5YH4qMdfA== X-CSE-MsgGUID: 4SZNAM8oS3OV7xcXxKR/vg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,242,1708416000"; d="scan'208";a="26515414" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2024 09:51:11 -0700 From: Tony Luck To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Tony Luck , =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= , Mark Brown Subject: [PATCH v5 04/47] ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines Date: Tue, 30 Apr 2024 09:50:17 -0700 Message-ID: <20240430165100.73491-4-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430165100.73491-1-tony.luck@intel.com> References: <20240430164913.73473-1-tony.luck@intel.com> <20240430165100.73491-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-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 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