OSDN Git Service

ASoC: SOF: Intel: hda: Simplify the hda_dsp_wait_d0i3c_done() function
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 1 Nov 2019 17:09:16 +0000 (12:09 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 4 Nov 2019 13:23:04 +0000 (13:23 +0000)
commit65c56f5dccc87ca2993a50672e144c7378189f2c
tree0fad0b2c2d6e3e2c2a00a402301b5083bc36962a
parent17fe95d6df9320409015e5114309a3c05e31b736
ASoC: SOF: Intel: hda: Simplify the hda_dsp_wait_d0i3c_done() function

Remove the retry argument for the hda_dsp_wait_d0i3c_done()
function and use the HDA_DSP_REG_POLL_RETRY_COUNT macro
directly.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191101170916.26517-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c