Re: audio: recover after missed interrupts

2015-07-28 Thread Alexey Suslikov
Alexandre Ratchov caoua.org> writes: > DPRINTFN(1, "%s: rec ptr wrapped, moving %d blocs\n", > DPRINTFN(1, "%s: play ptr wrapped, moving %d blocs\n", "blocs" in above DPRINTFNs should be "blocks", I think.

Re: audio: recover after missed interrupts

2015-07-28 Thread Mike Larkin
On Mon, Jul 27, 2015 at 07:51:15PM +0200, Alexandre Ratchov wrote: > Sometimes the system may miss enough audio interrupts for DMA > pointers to wrap, which makes upper layers misbahave. > > This diff makes the audio driver properly recover, by detecting and > compensating for the missed interrupt

audio: recover after missed interrupts

2015-07-27 Thread Alexandre Ratchov
Sometimes the system may miss enough audio interrupts for DMA pointers to wrap, which makes upper layers misbahave. This diff makes the audio driver properly recover, by detecting and compensating for the missed interrupts. This requires the hardware to expose working DMA pointers and the low-leve