[Sound-open-firmware] [PATCH] dai: handle xrun with more clear logic

Liam Girdwood liam.r.girdwood at linux.intel.com
Fri Mar 30 17:30:09 CEST 2018


On Fri, 2018-03-30 at 22:46 +0800, Keyon Jie wrote:
> 1. xrun happens.
> 2. trigger pipeline xrun and recover.
> 3. set dd->xrun in XRUN cmd from pipeline recover.
> 4. stop dma and reset buffer to 0s.
> 5. dai prepare and clear dd->xrun in prepare calling from recover.
> 6. start dma again in START cmd from pipeline recover.
> 
> This fix APL pause/release Xrun issue in my test.
> 
> Signed-off-by: Keyon Jie <yang.jie at linux.intel.com>
> ---
>  src/audio/dai.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
Applied.

Thanks

Liam


More information about the Sound-open-firmware mailing list