ASoC: SOF: Intel: hda: make sure RUN bit setting to 0 during clear stream status
authorZhu Yingjiang <yingjiang.zhu@linux.intel.com>
Wed, 12 Jun 2019 17:23:47 +0000 (12:23 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2019 12:46:22 +0000 (13:46 +0100)
commit5b8cc7d17f56257056ed65624dec28dcdf14e87e
tree223598218151f0b129aa2c7dea6a0b56805c82aa
parent7bcaf0f2cdfacca2226eee8895f64bc019d5a8be
ASoC: SOF: Intel: hda: make sure RUN bit setting to 0 during clear stream status

Before clearing stream statuses, ensure RUN bit update has taken
effect by reading the value back.

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-stream.c