7 Dec
2010
7 Dec
'10
3:43 p.m.
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.