linux/Documentation/DocBook/media
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
..
dvb [media] FE_READ_SNR and FE_READ_SIGNAL_STRENGTH docs 2014-02-04 13:07:01 -02:00
v4l [media] DocBook: partial rewrite of "Opening and Closing Devices" 2014-02-04 13:00:19 -02:00
bayer.png.b64
constraints.png.b64 [media] doc: v4l: add binary images for selection API 2012-01-10 23:17:55 -02:00
crop.gif.b64
dvbstb.png.b64
fieldseq_bt.gif.b64
fieldseq_tb.gif.b64
Makefile DocBook/media/Makefile: Fix build due to uapi breakage 2012-10-17 10:06:33 -03:00
nv12mt_example.gif.b64
nv12mt.gif.b64
pipeline.png.b64
selection.png.b64 [media] doc: v4l: add binary images for selection API 2012-01-10 23:17:55 -02:00
vbi_525.gif.b64
vbi_625.gif.b64
vbi_hsync.gif.b64