]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] tuner-xc2028: Fix signal strength report
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jul 2012 05:00:00 +0000 (02:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jul 2012 05:01:07 +0000 (02:01 -0300)
commit90acb85fb48372f30e0a2f6d516d2285faea6e6c
tree8a9338977d43745a716fe4f429f671b450df9640
parent030755bde42bbed133182b0ece7c7a9c759478e8
[media] tuner-xc2028: Fix signal strength report

There are several bugs at the signal strength algorithm:

- It is using logical OR, instead of bit OR;
- It doesn't wait up to 18 ms as it should;
- the strength range is not ok.

Rework on it, in order to make it work.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tuner-xc2028.c