[linux-dvb] [PATCH] Fix the unc for the frontends tda10021 and stv0297

Andy Walls awalls at radix.net
Tue May 13 00:42:48 CEST 2008

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

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


More information about the linux-dvb mailing list