[media] cxd2841er: fix signal strength scale for ISDB-T
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 1 Jul 2016 18:41:38 +0000 (15:41 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 16 Jul 2016 09:56:28 +0000 (06:56 -0300)
commit313a7dfb239f9433e5892d5a640f97b165b3e452
treee87613bf0bdaaecb2654a266d331a7b3bb8140f8
parentd12b791e3db757c42484342a015f26990642fdcb
[media] cxd2841er: fix signal strength scale for ISDB-T

The scale for ISDB-T was wrong too: it was inverted, and
on a relative scale.

Use a linear interpolation to make it look better.
The formula was empirically determined, using 3 frequencies
(175 MHz, 410 MHz and 800 MHz), measuring from -50dBm to
-12dBm in steps of 0.5dB.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/cxd2841er.c