[media] xc5000: properly show quality register values
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 7 Aug 2012 01:46:55 +0000 (22:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 9 Aug 2012 23:32:24 +0000 (20:32 -0300)
commit1aa9c487ffb3b3190a51ad447c33628488c7774f
tree2448a4f64ca7eac2f83e4a5dc57980816d38ecb5
parent364d2db2791aa3a808d2590ef62c53b4a83c25dd
[media] xc5000: properly show quality register values

The quality register only has relevant data in bits 2-0, so discard the
other bits (which results in a value being printed that is consistent
with the expected 0-7 range).

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc5000.c