]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: intel: rename maxim codec macros
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Thu, 1 Aug 2024 09:14:20 +0000 (14:44 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 1 Aug 2024 11:43:55 +0000 (12:43 +0100)
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>
sound/soc/intel/boards/sof_sdw_maxim.c

index fd8347e2884998ac545431e1441411a35fe043ff..9933224fcf6861d48ccc45938e297e98a2730d8f 100644 (file)
@@ -13,8 +13,8 @@
 #include "sof_sdw_common.h"
 
 static int maxim_part_id;
-#define SOF_SDW_PART_ID_MAX98363 0x8363
-#define SOF_SDW_PART_ID_MAX98373 0x8373
+#define SOC_SDW_PART_ID_MAX98363 0x8363
+#define SOC_SDW_PART_ID_MAX98373 0x8373
 
 static const struct snd_soc_dapm_route max_98373_dapm_routes[] = {
        { "Left Spk", NULL, "Left BE_OUT" },
@@ -127,12 +127,12 @@ int asoc_sdw_maxim_init(struct snd_soc_card *card,
 
        maxim_part_id = info->part_id;
        switch (maxim_part_id) {
-       case SOF_SDW_PART_ID_MAX98363:
+       case SOC_SDW_PART_ID_MAX98363:
                /* Default ops are set in function init_dai_link.
                 * called as part of function create_sdw_dailink
                 */
                break;
-       case SOF_SDW_PART_ID_MAX98373:
+       case SOC_SDW_PART_ID_MAX98373:
                info->codec_card_late_probe = asoc_sdw_mx8373_sdw_late_probe;
                dai_links->ops = &max_98373_sdw_ops;
                break;