diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2017-04-09 21:38:24 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-20 14:56:51 +0200 |
commit | df61f828d4e5f6db7936a21afeef1d5cb6248b4b (patch) | |
tree | d496305f410104e6d9bfc4de7b39ef96deb34d97 /drivers/connector | |
parent | [media] dvb-frontends/cxd2841er: more configurable TSBITS (diff) | |
download | linux-df61f828d4e5f6db7936a21afeef1d5cb6248b4b.tar.xz linux-df61f828d4e5f6db7936a21afeef1d5cb6248b4b.zip |
[media] dvb-frontends/cxd2841er: improved snr reporting
On DVB-T/T2 at least, SNR might be reported as >2500dB, which not only is
just wrong but also ridiculous, so fix this by improving the conversion
of the register value.
The INTLOG10X100 function/macro and the way the values are converted were
both taken from DD's cxd2843 driver.
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Acked-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions