summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/hda.h
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2019-10-26 01:41:07 +0300
committerMark Brown <broonie@kernel.org>2019-10-28 17:42:53 +0300
commit92f4beb718d76e93b76343a3ba872df6cb210672 (patch)
tree8e3cbfcb3f3215e6f684ed3de3c60e01c33fd900 /sound/soc/sof/intel/hda.h
parentaae7c82d01219bf568a7b12f5839d7ca52b17d59 (diff)
downloadlinux-92f4beb718d76e93b76343a3ba872df6cb210672.tar.xz
ASoC: SOF: Intel: HDA: use macro for register polling retry count
Define macro and use it for the register polling retry count. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191025224122.7718-12-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda.h')
-rw-r--r--sound/soc/sof/intel/hda.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h
index 0e7c366b8f71..99ec60218c16 100644
--- a/sound/soc/sof/intel/hda.h
+++ b/sound/soc/sof/intel/hda.h
@@ -214,6 +214,7 @@
#define HDA_DSP_CTRL_RESET_TIMEOUT 100
#define HDA_DSP_WAIT_TIMEOUT 500 /* 500 msec */
#define HDA_DSP_REG_POLL_INTERVAL_US 500 /* 0.5 msec */
+#define HDA_DSP_REG_POLL_RETRY_COUNT 50
#define HDA_DSP_ADSPIC_IPC 1
#define HDA_DSP_ADSPIS_IPC 1