Daniel Scheller df61f828d4 [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>
2017-06-20 09:56:51 -03:00
..
2017-06-15 01:52:32 +02:00
2017-05-04 19:15:35 -07:00
2017-06-16 17:38:23 +09:00
2017-06-13 15:09:10 +09:00
2017-06-01 14:49:47 -04:00
2017-06-20 08:51:56 -03:00
2017-05-05 19:33:07 -07:00
2017-04-27 11:54:49 +01:00
2017-06-11 11:29:15 -07:00
2017-06-14 23:45:22 -04:00
2017-04-17 00:42:22 +02:00
2017-04-20 09:54:24 +02:00
2017-05-09 10:01:15 -07:00
2017-06-16 17:30:44 +09:00
2017-05-04 19:15:35 -07:00
2017-06-11 11:21:08 -07:00
2017-06-20 08:51:56 -03:00
2017-05-18 23:54:47 -07:00
2017-06-04 10:23:25 +02:00
2017-06-18 08:39:54 +09:00
2017-05-05 11:36:44 -07:00
2017-06-09 09:59:51 -07:00