From patchwork Tue Apr 16 21:22:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Luck X-Patchwork-Id: 13632604 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 72EDE13C3E7; Tue, 16 Apr 2024 21:23:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302595; cv=none; b=t1LPq1QFusN50KXrK+3q4cRkdvY3vYt9kmLTgrMuWArIMJPGArvBttkrG5jDwwM73PurU1jyBlpoS+nWBm90hv+WOO5FQuQFYAUr01WWrTGYz1i3UhPH+gG5EK7Eam4tomjJRRodr5IKXhzlAhI6WW4EP3wbTtPw/l2ntRv7FxA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713302595; c=relaxed/simple; bh=lQ5OIiTxH3d7/GtHAwbCbRqsjUip1dqXcePJ5Z/9Mo8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r1uL38+1aTS9fhZ922FovwlIb1AxkqGgRKxOV/9DeWnSScEb7qQUHBMLQDpaQyY42uigi3YRqN+w8Nt6q8MLO0kVX6oWLMQ0T2agGXTPvuljEFacZaNWUnvk9ebBRIkSe1tsrz2LiK88jV+7IJiOPN2K7GHWOpKQdjxrjQlvpI0= 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=BfmIaRMu; arc=none smtp.client-ip=198.175.65.9 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BfmIaRMu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713302593; x=1744838593; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lQ5OIiTxH3d7/GtHAwbCbRqsjUip1dqXcePJ5Z/9Mo8=; b=BfmIaRMudG3qE5FZq3iu0n5tWp0f0uzOIRIMxW+LWAZhQVlWOUeCGyaB OOxHMEzyUZV+ClfTYMOBN1tMthi9jRen8THtV7BzergNdh9cdKQTfCaw3 RTxt6cl65Wx/DxXwut4acgzDfNSJG5g+WBJRYIMy4oVVNQXl4ZVjLXurm AfUg0s71D6FGa9TzfT8w3ceGnWUmtFpi355eBRYX3VcJaV+R0k8i9UXkR dSbypt083Je16wJH4Aud9rtHPr8eoEgICwQMcW7KAgRIylQTAhYqTo+6c q+Bcpzn1lHaZxifGaeGRz/j9Yy38SynHYt72uZyDJvetbwhjbgizW39FP A==; X-CSE-ConnectionGUID: xgIR6fN8Q4WfhaA4zg0cuQ== X-CSE-MsgGUID: oA0ijSbXRGOt01e7lxvjKA== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="31254770" X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="31254770" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:23:12 -0700 X-CSE-ConnectionGUID: zRuizkB5TkyetIbfBPokmw== X-CSE-MsgGUID: 8WXKnsQbQuqAuGLLrtIkmw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,207,1708416000"; d="scan'208";a="45678000" Received: from agluck-desk3.sc.intel.com ([172.25.222.105]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2024 14:23:04 -0700 From: Tony Luck To: 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_S=C5=82awi=C5=84ski?= , 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 v3 71/74] x86/cpu/vfm: Update sound/soc/intel/avs/boards/es8336.c Date: Tue, 16 Apr 2024 14:22:57 -0700 Message-ID: <20240416212257.10009-1-tony.luck@intel.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240416211941.9369-1-tony.luck@intel.com> References: <20240416211941.9369-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck --- sound/soc/intel/avs/boards/es8336.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sound/soc/intel/avs/boards/es8336.c b/sound/soc/intel/avs/boards/es8336.c index 5c90a6007577..6c86c581877e 100644 --- a/sound/soc/intel/avs/boards/es8336.c +++ b/sound/soc/intel/avs/boards/es8336.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include "../utils.h" @@ -153,9 +154,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: