[media] xc4000: fixed frequency error
authorIstvan Varga <istvan_v@mailbox.hu>
Fri, 3 Jun 2011 15:27:30 +0000 (12:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:34 +0000 (17:52 -0300)
commit1368ceb266990af58a72cdb0e121eb4ff22bde6f
treebca06a1b0b6e714b2ea682897f67b472284c9da6
parent5614942bb06f5620d0d6eb67bc0268c76c5dd921
[media] xc4000: fixed frequency error

The xc_get_frequency_error() function reported the frequency error
incorrectly. The data read from the hardware is a signed integer, in
15625 Hz units. The attached patch fixes the bug.

Signed-off-by: Istvan Varga <istvan_v@mailbox.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc4000.c