[alsa-devel] [PATCH] ASoC: Intel: Bsw: Read sst DSP DMA pointer after period elapse occurs

Mark Brown broonie at kernel.org
Mon Aug 17 21:55:55 CEST 2015


On Sun, Aug 16, 2015 at 11:12:25PM -0700, yang.a.fang at intel.com wrote:

> We should not read sst hw_ptr and pcm_delay in sst_platform_pcm_pointer
> Since it will be ricky if sst_platform_pcm_pointer is called while dsp
> is updating the timestamp.Now read sst hw_ptr after period elapse
> interrupt occurs.

So I guess there's still some risk that we could run into problems here
if we take too long to service the interrupt and/or the period is very
short?  Is there anything we can do to improve that?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150817/a5fa30e8/attachment.sig>


More information about the Alsa-devel mailing list