summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2011-07-24 17:23:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:56:05 -0300
commitd749fb663ef3b891ca5f30650ec2089ec945ce07 (patch)
treed204c3af951dc39b8a77804e180fe358a0fcde6b /mm/shmem.c
parentde99d5328c6d54694471da28711a05adec708c3b (diff)
downloadop-kernel-dev-d749fb663ef3b891ca5f30650ec2089ec945ce07.zip
op-kernel-dev-d749fb663ef3b891ca5f30650ec2089ec945ce07.tar.gz
[media] au8522: set signal field to 100% when signal present
The signal state field in G_TUNER is typically scaled from 0-100%. Since we don't know the signal level, we really would prefer the field to contain 100% than 1/256, which in many utilities (such as v4l2-ctl) rounds to 0% even when a signal is actually present. This patch makes the behavior consistent with other drivers. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud