linux/Documentation/DocBook/media/dvb
Georgi Chorbadzhiyski def6221604 [media] FE_READ_SNR and FE_READ_SIGNAL_STRENGTH docs
Around 01/14/2014 06:07 PM, Mauro Carvalho Chehab scribbled:
> Em Tue, 14 Jan 2014 17:55:19 +0200
> Georgi Chorbadzhiyski <gf@unixsol.org> escreveu:
>> Around 01/14/2014 05:30 PM, Mauro Carvalho Chehab scribbled:
>>> Em Tue, 14 Jan 2014 17:16:10 +0200
>>> Georgi Chorbadzhiyski <gf@unixsol.org> escreveu:
>>>
>>>> Hi guys, I'm confused the documentation on:
>>>>
>>>> http://linuxtv.org/downloads/v4l-dvb-apis/frontend_fcalls.html#FE_READ_SNR
>>>> http://linuxtv.org/downloads/v4l-dvb-apis/frontend_fcalls.html#FE_READ_SIGNAL_STRENGTH
>>>>
>>>> states that these ioctls return int16_t values but frontend.h states:
>>>>
>>>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/dvb/frontend.h
>>>>
>>>> #define FE_READ_SIGNAL_STRENGTH  _IOR('o', 71, __u16)
>>>> #define FE_READ_SNR              _IOR('o', 72, __u16)
>>>>
>>>> So which one is true?
>>>
>>> Documentation is wrong. The returned values are unsigned. Would you mind send
>>> us a patch fixing it?
>>
>> I would be happy to, but I can't find the repo that holds the documentation.
>
> It is in the Kernel tree, under Documentation/DocBook/media/dvb.

The attached file contains the discussed documentation fixes.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-02-04 13:07:01 -02:00
..
.gitignore [media] DocBook: Move all media docbook stuff into its own directory 2011-07-27 17:52:05 -03:00
audio.xml [media] DocBook: add missing AUDIO_* ioctls 2012-08-11 16:18:54 -03:00
ca.xml [media] DocBook: add stubs for missing DVB CA ioctls 2012-08-11 16:31:43 -03:00
demux.xml [media] DocBook: add stubs for missing DVB DMX ioctls 2012-08-11 16:30:41 -03:00
dvbapi.xml [media] DocBook media: update copyright years and Introduction 2014-02-04 10:02:47 -02:00
dvbproperty.xml [media] DocBook media: fix syntax problems in dvbproperty.xml 2013-03-25 09:25:53 -03:00
dvbstb.pdf [media] DocBook: Move all media docbook stuff into its own directory 2011-07-27 17:52:05 -03:00
examples.xml [media] DocBook: Move all media docbook stuff into its own directory 2011-07-27 17:52:05 -03:00
frontend.xml [media] FE_READ_SNR and FE_READ_SIGNAL_STRENGTH docs 2014-02-04 13:07:01 -02:00
intro.xml [media] DocBook: Multistream support 2012-09-23 21:26:15 -03:00
kdapi.xml [media] Rename media/dvb as media/pci 2012-08-13 23:30:06 -03:00
net.xml [media] DocBook: add stubs for the undocumented DVB net ioctls 2012-08-11 16:28:33 -03:00
video.xml [media] DocBook: add missing DVB video ioctls 2012-08-11 16:25:25 -03:00