[alsa-devel] [PATCH 2/2] ASoC: omap: Stop DMA re enabling in self linkage mode

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 7 15:43:48 CET 2010

On Tue, Dec 07, 2010 at 04:38:35PM +0200, Peter Ujfalusi wrote:

> Sure, it is a single read to a register, but generally I'm a bit nervous, when 
> we have a while loop without timeout counter.
> In theory we could have infinite loop, if the HW has a bad day...
> This could be safe on all OMAP platforms, but I think it has been only tested on 
> OMAP4.
> If this could happen, than IMHO it has to be handled by the omap_stop_dma, since 
> other drivers could be hit by the same problem (there might be ERRATA for it 
> already for OMAP4).

A timeout would be better in general, yes.

More information about the Alsa-devel mailing list