]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: make sure DMA is start/stop by read the RUN bit
authorZhu Yingjiang <yingjiang.zhu@linux.intel.com>
Wed, 12 Jun 2019 17:23:46 +0000 (12:23 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jun 2019 12:46:01 +0000 (13:46 +0100)
commit09283f6724852e9be9f5c8a35f185218d6d665fe
tree84eac7972a92d3304043a78d5c3a657d7b810c54
parentcdcc0be1018612b24f209813a0c4d4b875572640
ASoC: SOF: Intel: hda: make sure DMA is start/stop by read the RUN bit

As per the HW recommendation, after setting the RUN bit
(start as 1, stop as 0), software must read the bit back
to make sure the bit is set right, before modifying related
control registers/re-starting the DMA engine.

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
sound/soc/sof/intel/hda.h