Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: Intel: avs: es8336: Switch to new Intel CPU model defines

New CPU #defines encode vendor and family as well as model.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/r/20240529191450.63414-1-tony.luck@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Tony Luck and committed by
Mark Brown
34864c05 52100401

+4 -4
+4 -4
sound/soc/intel/avs/boards/es8336.c
··· 18 18 #include <sound/pcm_params.h> 19 19 #include <sound/soc.h> 20 20 #include <sound/soc-acpi.h> 21 - #include <asm/intel-family.h> 21 + #include <asm/cpu_device_id.h> 22 22 #include "../utils.h" 23 23 24 24 #define ES8336_CODEC_DAI "ES8316 HiFi" ··· 153 153 int clk_freq; 154 154 int ret; 155 155 156 - switch (boot_cpu_data.x86_model) { 157 - case INTEL_FAM6_KABYLAKE_L: 158 - case INTEL_FAM6_KABYLAKE: 156 + switch (boot_cpu_data.x86_vfm) { 157 + case INTEL_KABYLAKE_L: 158 + case INTEL_KABYLAKE: 159 159 clk_freq = 24000000; 160 160 break; 161 161 default: