diff options
author | Keyon Jie <yang.jie@linux.intel.com> | 2019-10-26 01:41:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-28 17:42:53 +0300 |
commit | 92f4beb718d76e93b76343a3ba872df6cb210672 (patch) | |
tree | 8e3cbfcb3f3215e6f684ed3de3c60e01c33fd900 /sound/soc/sof/intel/hda.h | |
parent | aae7c82d01219bf568a7b12f5839d7ca52b17d59 (diff) | |
download | linux-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.h | 1 |
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 |