2 Oct
2011
2 Oct
'11
8:54 p.m.
On Fri, Sep 30, 2011 at 05:23:02PM -0400, Ben Gardiner wrote:
The CPU DAIs available to the davinci-pcm driver have the capability of detecting and reporting errors.
Add callbacks to the struct davinci_pcm_dma_params passed to davinci-pcm from the CPU DAI.
This looks like something we should be doing at the subsystem level, the DaVinci is far from unique in having the ability to detect errors at the DAI level.
This has several shortcomings:
- It bubbles up to the user as underruns, not a fatal error -- some may prefer
the former, I realize but the latter is more attractive to me. Same problem as with the previous patch in this series.
Why do you prefer a fatal error, and how do you distinguish a fatal error from a glitch?