Skip to content

Commit 9a83dfc

Browse files
kv2019ibroonie
authored andcommitted
ASoC: SOF: Intel: fix build issue related to CODEC_PROBE_ENTRIES
Fix following error: sound/soc/sof/intel/hda-codec.c:132:35: error: use of undeclared identifier 'CODEC_PROBE_RETRIES' Found with config: i386-randconfig-r033-20211202 (https://download.01.org/0day-ci/archive/20211203/202112031943.Twg19fWT-lkp@intel.com/config) Fixes: 046aede ("ASoC: SOF: Intel: Retry codec probing if it fails") Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20211203154721.923496-1-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent c1a77ba commit 9a83dfc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sound/soc/sof/intel/hda-codec.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
#include "../../codecs/hdac_hda.h"
2121
#endif /* CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC */
2222

23+
#define CODEC_PROBE_RETRIES 3
24+
2325
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC)
2426
#define IDISP_VID_INTEL 0x80860000
25-
#define CODEC_PROBE_RETRIES 3
2627

2728
/* load the legacy HDA codec driver */
2829
static int request_codec_module(struct hda_codec *codec)

0 commit comments

Comments
 (0)