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

ASoC: intel: rename maxim codec macros

Rename maxim codec part id macros.

Link: https://github.com/thesofproject/linux/pull/5068
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240801091446.10457-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Vijendar Mukunda and committed by
Mark Brown
a2b5ec0c bd5838c8

+4 -4
+4 -4
sound/soc/intel/boards/sof_sdw_maxim.c
··· 13 13 #include "sof_sdw_common.h" 14 14 15 15 static int maxim_part_id; 16 - #define SOF_SDW_PART_ID_MAX98363 0x8363 17 - #define SOF_SDW_PART_ID_MAX98373 0x8373 16 + #define SOC_SDW_PART_ID_MAX98363 0x8363 17 + #define SOC_SDW_PART_ID_MAX98373 0x8373 18 18 19 19 static const struct snd_soc_dapm_route max_98373_dapm_routes[] = { 20 20 { "Left Spk", NULL, "Left BE_OUT" }, ··· 127 127 128 128 maxim_part_id = info->part_id; 129 129 switch (maxim_part_id) { 130 - case SOF_SDW_PART_ID_MAX98363: 130 + case SOC_SDW_PART_ID_MAX98363: 131 131 /* Default ops are set in function init_dai_link. 132 132 * called as part of function create_sdw_dailink 133 133 */ 134 134 break; 135 - case SOF_SDW_PART_ID_MAX98373: 135 + case SOC_SDW_PART_ID_MAX98373: 136 136 info->codec_card_late_probe = asoc_sdw_mx8373_sdw_late_probe; 137 137 dai_links->ops = &max_98373_sdw_ops; 138 138 break;