]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[media] dvb: Document FE_SCALE_DECIBEL units consistently
authorDavid Howells <dhowells@redhat.com>
Thu, 9 Apr 2015 19:36:49 +0000 (16:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 14 May 2015 21:29:48 +0000 (18:29 -0300)
commit4c12adad26f059fa207d6b07aa61f39bc459211b
treef903c40f998af698447faa89ff3a39b6da50d7e0
parent24d795d361b2cd5cb6a6915ad4df61db7a2a9bef
[media] dvb: Document FE_SCALE_DECIBEL units consistently

In comments and in the documentation, the units of properties marked
with the FE_SCALE_DECIBEL scale are specified in terms of 1/1000 dB
or 0.0001 dB.  This is inconsistent, however, as 1/1000 is 0.001,
not 0.0001.

Note that the v4l-utils divide the value by 1000 for the signal
strength suggesting that the 1/1000 is correct.

Settle on millidecibels, ie. 1/1000dB or 0.001dB.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/dvb/dvbproperty.xml
include/uapi/linux/dvb/frontend.h