]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix delay wrap condition
authorGuneshwor Singh <guneshwor.o.singh@intel.com>
Wed, 3 Feb 2016 12:29:45 +0000 (17:59 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2016 11:36:14 +0000 (11:36 +0000)
commit68c51c92fe27ae1c7b58e36350d0e0f677c9e8d6
treeba6a341b9bacc18b230fd35de7c42a9ba1c0e2ee
parent0709ab4fe0c52b851aa50137409368c834d1cec4
ASoC: Intel: Skylake: Fix delay wrap condition

When delay reported by HW is equal to buffersize, it means the
value is wrapped so we should report as 0. So add the condition
to check this while reporting the delay from LPIB.

Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Signed-off-by: Dharageswari.R <dharageswari.r@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c