summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-05-26 18:04:07 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 17:11:03 +0300
commit3366cd5d72c664aa5e447f41ed2f7dac69f6a94e (patch)
tree8f981cfd9aa99e85fe87e7f12cb36a46ff8861e6 /drivers/platform
parent0f91c9d6bab956fe55c32f143b21cbcc3538f699 (diff)
downloadlinux-3366cd5d72c664aa5e447f41ed2f7dac69f6a94e.tar.xz
[media] ts2020: Provide DVBv5 API signal strength
Provide a DVBv5 API signal strength. This is in units of 0.001 dBm rather than a percentage. >From Antti Palosaari's testing with a signal generator, it appears that the gain calculated according to Montage's specification if negated is a reasonable representation of the signal strength of the generator. To this end: (1) Polled statistic gathering needed to be implemented in the TS2020 driver. This is done in the ts2020_stat_work() function. (2) The calculated gain is placed as the signal strength in the dtv_property_cache associated with the front end with the scale set to FE_SCALE_DECIBEL. (3) The DVBv3 format signal strength then needed to be calculated from the signal strength stored in the dtv_property_cache rather than accessing the value when ts2020_read_signal_strength() is called. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions