]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix DMA position reporting for capture stream
authorHardik T Shah <hardik.t.shah@intel.com>
Fri, 24 Mar 2017 17:40:32 +0000 (23:10 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2017 11:53:39 +0000 (12:53 +0100)
commit3b376a84874ccf1935c6ff668be5090e9cbd23d9
tree32c288f9d0d1c97831b2c1c3a8e2fe30148343b1
parent40eef315daac07cc6ddfff05ed1d023a1972e047
ASoC: Intel: Skylake: Fix DMA position reporting for capture stream

As per hardware recommendation, for every capture stream completion
following operations need to be done in order to reflect the actual
data that is received in position buffer.

1. Wait for 20us before reading the DMA position in buffer once the
interrupt is generated for stream completion.
2. Read any of the register to flush the DMA position value. This is
dummy read operation.

Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c