]> git.openfabrics.org - ~emulex/infiniband.git/commit
[media] au8522: Fix off-by-one in SNR table for QAM256
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 7 Aug 2012 01:46:52 +0000 (22:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 Aug 2012 23:29:43 +0000 (20:29 -0300)
commitb0c4878ebe3ad9706ea2e452331550fd6d171977
tree44a1e6d0b9811cf7ba97e2ad42115481317da1e0
parenta307cfa55e2bf7889792e158e45355ccb1e63d80
[media] au8522: Fix off-by-one in SNR table for QAM256

The table of valid SNR values for QAM 256 is off by one, and as a result
if the SNR is oscillating between 40.0 and 39.9 dB, tools like azap show
it going back and forth between 40.0 and 0 (misleading some people,
including myself, to think signal lock is being lost or there is a
problem with register reads).

Fix the table so that 40.0 dB is properly represented.

Cc: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/au8522_dig.c