Re: [PATCH] Fix the unc for the frontends tda10021 and stv0297

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-05-12 at 18:02 +0200, Oliver Endriss wrote:
> P. van Gaans wrote:
> > On 05/12/2008 03:16 PM, Oliver Endriss wrote:
> > > @all:
> > > 1. If nobody objects I will commit the patches.
> > > 2. Please check and fix the other frontend drivers to follow the spec.
> > 
> > Will the behaviour of femon change, and if so, in what way?
> 
> For a correct driver unc would not return to 0 (unless the counter
> wrapped).

And that is the critical part to support multiple opens on the device
and still return meaningful values.

If a 0 could happen under any other condition, the meaning of a 0 being
read would be ambiguous.  An application couldn't tell the difference
between:

a) an error occurred and the counter rolled over or
b) no error occurred and another caller simply cleared the count.

-Andy


_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux