[Sound-open-firmware] [PATCH 1/2] pipeline: stop pipeline processing until data has entered pipe

Liam Girdwood liam.r.girdwood at linux.intel.com
Sun Dec 10 21:47:00 CET 2017


On Fri, 2017-12-08 at 22:57 +0000, Liam Girdwood wrote:
> No data will exist in DMA capture buffers when starting capture
> pipelines.
> This causes the downstream pipe to underrun and run XRUN recovery.
> Add
> a copy() return value of -ENODATA to indicate that no data has yet
> entered an active pipeline and stop pipeline processing at this point
> before rescheduling.
> 
> i.e. break from pipeline walk and reschedule.
> 
> This removes XRUN recovery work from the capture startup trace.
> 
> Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
> ---
> 
Have a simpler idea, drop this series.

Liam


More information about the Sound-open-firmware mailing list