On 05/15/2012 03:31 PM, Artem Bityutskiy wrote: >> As I understand loops_per_jiffy, this loop will take much longer >> than the 100 ms you defined above? > > Not sure about much, but longer. The idea is that this is about > the error path so if we report -EIO with a slight delay - no > problem. Turned out that the condition (FIFO empty) is always true for me. Keeping the check for safety reasons for now, doing the timeout with msleep()s which should be (cpu-wise) "social" enough and are unexpected anyway but do approximate the ms timeout more precisely. Roland -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html